comparison gcc/testsuite/g++.dg/pr94027.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 94027 ICE mangling
3
4 class a {
5 public:
6 a (char);
7 };
8 struct b {
9 b (a);
10 };
11 template <typename... aw, int...>
12 void ax (int)
13 {
14 struct c : b {
15 c () : b {sizeof...(aw)}
16 {}
17 };
18 }
19
20 void az() {
21 ax ({});
22 }