Debian Codegraph @

flang/test/Driver/emit-asm-from-mlir.mlir

raw
1 // REQUIRES: target=aarch64{{.*}} || target=x86{{.*}} || target=arm{{.*}}
2 // Above restricts the test to those architectures that match "ret" to return
3 // from a function.
4 // Verify that the driver can consume MLIR/FIR files.
5
6 // RUN: %flang_fc1 -S %s -o - | FileCheck %s
7
8 // CHECK-LABEL: foo:
9 // CHECK: ret
10 func.func @foo() {
11 return
12 }