flang/test/Driver/emit-asm-from-llvm.ll
raw| 1 | ; Verify that the driver can consume LLVM IR files. |
| 2 | |
| 3 | ; REQUIRES: aarch64-registered-target |
| 4 | |
| 5 | ; RUN: %flang_fc1 -S -triple aarch64-unknown-linux-gnu %s -o - | FileCheck %s |
| 6 | ; RUN: %flang -S -target aarch64-unknown-linux-gnu %s -o - | FileCheck %s |
| 7 | |
| 8 | ; CHECK-LABEL: foo: |
| 9 | ; CHECK: ret |
| 10 | |
| 11 | define void @foo() { |
| 12 | ret void |
| 13 | } |