1 ! RUN: bbc -emit-fir %s -o - | FileCheck %s
3 ! CHECK-DAG: func.func private @proc1() attributes {fir.bindc_name = "proc1"}
6 subroutine proc_iface() bind(C
)
7 end subroutine proc_iface
9 procedure (proc_iface
) PrOc1
16 ! CHECK-DAG: func.func private @proc2() attributes {fir.bindc_name = "proc2"}
19 subroutine proc_iface() bind(C
)
20 end subroutine proc_iface
25 procedure (proc_iface
) PrOc2
29 ! CHECK-DAG: func.func private @func3() -> f32 attributes {fir.bindc_name = "func3"}
32 real function func_iface() bind(C
)
33 end function func_iface
35 procedure (func_iface
) FuNc3
43 ! CHECK-DAG: func.func private @func4() -> f32 attributes {fir.bindc_name = "func4"}
46 real function func_iface() bind(C
)
47 end function func_iface
52 procedure (func_iface
) FuNc4