blob: 99bbf1b93c42c8974a02e358ef73ebc46c9173db [file] [log] [blame]
// REQUIRES: target=aarch64{{.*}} || target=x86{{.*}} || target=arm{{.*}}
// Above restricts the test to those architectures that match "ret" to return
// from a function.
// Verify that the driver can consume MLIR/FIR files.
// RUN: %flang_fc1 -S %s -o - | FileCheck %s
// CHECK-LABEL: foo:
// CHECK: ret
func.func @foo() {
return
}