aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/MIR/Generic/machine-function-missing-function.mir
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/MIR/Generic/machine-function-missing-function.mir')
-rw-r--r--test/CodeGen/MIR/Generic/machine-function-missing-function.mir19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/CodeGen/MIR/Generic/machine-function-missing-function.mir b/test/CodeGen/MIR/Generic/machine-function-missing-function.mir
deleted file mode 100644
index b218afd72ea3..000000000000
--- a/test/CodeGen/MIR/Generic/machine-function-missing-function.mir
+++ /dev/null
@@ -1,19 +0,0 @@
-# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
-# This test ensures that an error is reported when the mir file has LLVM IR and
-# one of the machine functions has a name that doesn't match any function in
-# the LLVM IR.
-
---- |
-
- define i32 @foo() {
- ret i32 0
- }
-
-...
----
-name: foo
-...
----
-# CHECK: function 'faa' isn't defined in the provided LLVM IR
-name: faa
-...