Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/other/default1.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 // PR c++/24103 |
2 // ICE in simple_cst_equal | |
3 // Origin: Alexander Stepanov <astepanov@softminecorp.com> | |
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) {} |