Debian Codegraph @

gcc/testsuite/g++.dg/lookup/pr84733.C

raw
1 // { dg-do compile { target c++11 } }
2 // PR c++/84733 ICE popping local binding after cleanup region
3
4 struct c {
5 ~c();
6 } b;
7
8 void f() {
9 #ifndef OK
10 try {
11 d:
12 ;
13 } catch (int) {
14 }
15 #endif
16 decltype(b) a;
17 int e;
18 struct e { } f;
19 e = 5;
20 struct e j;
21 }