14 lines · plain
1// RUN: fir-opt --split-input-file --simplify-intrinsics='enable-experimental=true' %s | FileCheck %s2 3// check that a simple function compiled with experimental enabled4module attributes {fir.defaultkind = "a1c4d8i4l4r4", fir.kindmap = "", llvm.target_triple = "native"} {5 func.func @experimental_1(%arg0: !fir.ref<i32> {fir.bindc_name = "a"}) -> i32 {6 %c10 = arith.constant 10 : i327 return %c10 : i328 }9}10 11// CHECK-LABEL: func.func @experimental_1(12// CHECK: return %{{.*}} : i3213// CHECK: }14