mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
41 lines
536 B
C++
41 lines
536 B
C++
|
|
void f1(void) throw (int);
|
|
void f2(void) throw ();
|
|
void f3(void);
|
|
void f4(void) {
|
|
return;
|
|
}
|
|
void f5(void) {
|
|
throw 3;
|
|
}
|
|
void g(void);
|
|
void h(void);
|
|
void i(void);
|
|
void j(void);
|
|
void k(void);
|
|
|
|
void fun(void) {
|
|
try {
|
|
try {
|
|
f1();
|
|
f2();
|
|
f3();
|
|
f4();
|
|
f5();
|
|
throw 5;
|
|
g();
|
|
}
|
|
catch (int e) {
|
|
h();
|
|
}
|
|
}
|
|
catch (int e) {
|
|
i();
|
|
}
|
|
catch (int e) {
|
|
j();
|
|
}
|
|
k();
|
|
return;
|
|
}
|