1 ! RUN: bbc -emit-fir -o - %s | FileCheck %s
3 ! CHECK-LABEL: func @_QPkagi
5 ! CHECK: fir.select_case %{{.}} : i32 [#fir.upper, %c-1_i32, ^bb{{.}}, #fir.lower, %c1_i32, ^bb{{.}}, unit, ^bb{{.}}]
13 ! CHECK-LABEL: func @_QPkagf
15 ! CHECK: %[[zero:.+]] = arith.constant 0.0
16 ! CHECK: %{{.+}} = arith.cmpf olt, %{{.+}}, %[[zero]] : f32
18 ! CHECK: %{{.+}} = arith.cmpf ogt, %{{.+}}, %[[zero]] : f32
21 if (findex
+findex
) 7, 8, 9
28 ! CHECK-LABEL: func @_QQmain