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

23 lines
173 B
C++

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;
}
}