blob: 060e348d9d936a10ea9630a9623bcf5ac488b173 [file] [log] [blame]
// RUN: fir-opt --split-input-file --simplify-intrinsics='enable-experimental=true' %s | FileCheck %s
// check that a simple function compiled with experimental enabled
module attributes {fir.defaultkind = "a1c4d8i4l4r4", fir.kindmap = "", llvm.target_triple = "native"} {
func.func @experimental_1(%arg0: !fir.ref<i32> {fir.bindc_name = "a"}) -> i32 {
%c10 = arith.constant 10 : i32
return %c10 : i32
}
}
// CHECK-LABEL: func.func @experimental_1(
// CHECK: return %{{.*}} : i32
// CHECK: }