blob: 0fd970c3af7cc5c3e4de099c85c4a5c3e14c56ac [file] [log] [blame]
# RUN: llc -run-pass none -o - %s | FileCheck %s
# This test ensures that the MIR parser accepts files with llvm IR but
# no machine function body.
--- |
; CHECK: define i32 @foo()
define i32 @foo() {
ret i32 0
}
...
---
# CHECK: name: foo
name: foo
...