MIR Serialization: Create dummy functions when the MIR file doesn't have LLVM IR.
[oota-llvm.git] / test / CodeGen / MIR / llvmIRMissing.mir
index 2acbcd1f9884d0c44ee5e8d9bcd6004f5716a0cb..83d846ba44c3fcf190cb38174fbea0261f11305e 100644 (file)
@@ -1,5 +1,7 @@
-# RUN: llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s
+# RUN: llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s | FileCheck %s
 # This test ensures that the MIR parser accepts files without the LLVM IR.
 
 ---
+# CHECK: name: foo
+name: foo
 ...