parent
e1c787f2f5
commit
9ca74f1cfe
|
@ -0,0 +1,13 @@
|
||||||
|
void foo();
|
||||||
|
|
||||||
|
void bar() {
|
||||||
|
struct local {
|
||||||
|
~local() { foo(); }
|
||||||
|
} local_obj;
|
||||||
|
|
||||||
|
try {
|
||||||
|
foo();
|
||||||
|
} catch(...) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue