1 ! RUN: bbc -emit-fir -o - %s | FileCheck %s
3 ! CHECK-LABEL: func @_QPnolist
7 ! CHECK: fir.store %c31{{.*}} to %{{.}}
9 ! CHECK: fir.select %{{.}} : i32 [31, ^bb{{.}}, unit, ^bb{{.}}]
10 ! CHECK: fir.call @_FortranAReportFatalUserError
18 ! CHECK-LABEL: func @_QPlist
24 ! CHECK: fir.store %c22{{.*}} to %{{.}}
27 ! CHECK: fir.store %c32{{.*}} to %{{.}}
29 ! CHECK: fir.select %{{.}} : i32 [22, ^bb{{.}}, 32, ^bb{{.}}, unit, ^bb{{.}}]
30 ! CHECK: fir.call @_FortranAReportFatalUserError
31 goto L (42, 32, 22, 32, 32) ! duplicate labels are allowed