comparison gcc/testsuite/g++.dg/lookup/pr84733.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
145:1830386684a0 152:2b5abeee2509
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 }