brintos

brintos / llvm-project-archived public Read only

0
0
Text · 338 B · 99bbf1b Raw
13 lines · plain
1// REQUIRES: target=aarch64{{.*}} || target=x86{{.*}} || target=arm{{.*}}2// Above restricts the test to those architectures that match "ret" to return3// from a function.4// Verify that the driver can consume MLIR/FIR files.5 6// RUN: %flang_fc1 -S %s -o - | FileCheck %s7 8// CHECK-LABEL: foo:9// CHECK: ret10func.func @foo() {11  return12}13