Debian Codegraph @

gcc/testsuite/g++.dg/other/default1.C

raw
1 // PR c++/24103
2 // ICE in simple_cst_equal
3 // Origin: Alexander Stepanov <[email protected]>
4 // { dg-do compile }
5 // { dg-options "" }
6
7 struct S
8 {
9 int i;
10 };
11
12 struct A
13 {
14 A(S = (S){0});
15 };
16
17 struct B
18 {
19 B(S = (S){0});
20 };
21
22 B::B(S) {}