re PR c++/67184 (Missed optimization with C++11 final specifier)
[official-gcc.git] / gcc / testsuite / g++.dg / other / default1.C
bloba6d9681856371bedccfe1472ab31eeb93e06f587
1 // PR c++/24103
2 // ICE in simple_cst_equal
3 // Origin: Alexander Stepanov <astepanov@softminecorp.com>
4 // { dg-do compile }
5 // { dg-options "" }
7 struct S
9   int i;
12 struct A
14   A(S = (S){0});
17 struct B
19   B(S = (S){0});
22 B::B(S) {}