llvm/flang/test/Driver/emit-asm-from-llvm.ll

; 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
}