Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/lookup/pr84733.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 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 } |