Files
clang-p2996/clang/test/Import/switch-stmt/Inputs/F.cpp
Raphael Isemann 5a66dceeb3 [ASTImporter] Add test for SwitchStmt
Reviewers: a.sidorin, a_sidorin

Reviewed By: a_sidorin

Subscribers: a_sidorin, martong, cfe-commits

Differential Revision: https://reviews.llvm.org/D51056

llvm-svn: 340464
2018-08-22 22:47:10 +00:00

19 lines
191 B
C++

void f() {
switch (1) {
case 1:
case 2:
break;
}
switch (int varname; 1) {
case 1:
break;
case 2:
break;
}
switch (1)
default:
break;
switch (0)
;
}