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

26 lines
197 B
C++

namespace ehandler {
class C { };
class D { };
void g() {
throw 1;
}
void f() {
try {
try {
g();
throw 2;
l:
} catch (int) {
4;
}
} catch (C) {
5;
} catch (D) {
6;
}
}
}