llvm-for-llvmta/tools/clang/test/Import/switch-stmt/Inputs/F.cpp

24 lines
261 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
void f() {
switch (1) {
case 1:
case 2:
break;
case 3 ... 4:
case 5 ... 5:
break;
}
switch (int varname; 1) {
case 1:
break;
case 2:
break;
case 3 ... 5:
break;
}
switch (1)
default:
break;
switch (0)
;
}