Files
codeql/cpp/ql/test/library-tests/syntax-zoo/ellipsisexceptionhandler.cpp
2019-08-06 14:10:25 +02:00

21 lines
210 B
C++

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