Files
codeql/cpp/ql/test/successor-tests/exceptionhandler/ellipsisexceptionhandler/ellipsisexceptionhandler.cpp
2018-09-23 16:23:52 -07:00

18 lines
185 B
C++

void f() {
try {
try {
throw 1;
} catch (int i) {
} catch (...) {
}
} catch (int j) {
}
}
void g(bool condition) {
try {
if (condition) throw 1;
} catch (...) {
}
}