1// RUN: %not_todo_cmd fir-opt --fir-to-llvm-ir="target=x86_64-unknown-linux-gnu" %s 2>&1 | FileCheck %s 2 3// Test `fir.select_case` conversion to llvm with character type. 4// Not implemented yet. 5 6func.func @select_case_charachter(%arg0: !fir.char<2, 10>, %arg1: !fir.char<2, 10>, %arg2: !fir.char<2, 10>) { 7// CHECK: not yet implemented: fir.select_case codegen with character type 8 fir.select_case %arg0 : !fir.char<2, 10> [#fir.point, %arg1, ^bb1, 9 #fir.point, %arg2, ^bb2, 10 unit, ^bb3] 11^bb1: 12 %c1_i32 = arith.constant 1 : i32 13 cf.br ^bb3 14^bb2: 15 %c2_i32 = arith.constant 2 : i32 16 cf.br ^bb3 17^bb3: 18 return 19} 20