forked from OSchip/llvm-project
16 lines
277 B
Plaintext
16 lines
277 B
Plaintext
|
# 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
|
||
|
...
|