]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/nsdmi-list1.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / nsdmi-list1.C
CommitLineData
7204877f 1// PR c++/50563
4b2e63de 2// { dg-do compile { target c++11 } }
7204877f
JM
3
4struct S1 {
5 int a{10}, b{20}; // OK
6};
7
8struct S2 {
9 int a, b = 20; // OK
10};
11
12struct S3 {
13 int a = 10, b = 20;
14};
This page took 5.567801 seconds and 5 git commands to generate.