1 // RUN: fir-opt --split-input-file --simplify-intrinsics='enable-experimental=true' %s | FileCheck %s
3 // check that a simple function compiled with experimental enabled
4 module 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 : i32
11 // CHECK-LABEL: func.func @experimental_1(
12 // CHECK: return %{{.*}} : i32