summaryrefslogtreecommitdiff
path: root/flang/test/Driver/emit-asm-from-llvm.ll
blob: f9a9457e8ac18b336b2b55ac47c0099db48e424b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; Verify that the driver can consume LLVM IR files.

; REQUIRES: aarch64-registered-target

; RUN: %flang_fc1 -S -triple aarch64-unknown-linux-gnu %s -o - | FileCheck %s
; RUN: %flang -S -target aarch64-unknown-linux-gnu %s -o - | FileCheck %s

; CHECK-LABEL: foo:
; CHECK: ret

define void @foo() {
  ret void
}