Files
codeql/cpp/ql/test/successor-tests/exceptionhandler/ellipsisexceptionhandler/ellipsisexceptionhandler.cpp
2018-08-02 17:53:23 +01:00

18 lines
202 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 (...) {
}
}