Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/cpp0x/desig5.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 // PR c++/87324 | |
2 // { dg-do compile { target c++11 } } | |
3 // { dg-options "-Wno-pedantic" } | |
4 | |
5 struct { | |
6 struct { | |
7 double a; | |
8 struct { | |
9 short b; | |
10 }; | |
11 }; | |
12 int c; | |
13 } d{.a = 7, .a = 8.09}; // { dg-error "designator used multiple times in the same initializer list" } |