1 # RUN: llc -run-pass none -o - %s | FileCheck %s
2 # This test ensures that the MIR parser accepts files with llvm IR but
3 # no machine function body.
4
5 --- |
6 ; CHECK: define i32 @foo()
7 define i32 @foo() {
8 ret i32 0
9 }
10
11 ...
12 ---
13 # CHECK: name: foo
14 name: foo
15 ...
16