Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/nsdmi-list1.C

raw
1 // PR c++/50563
2 // { dg-do compile { target c++11 } }
3
4 struct S1 {
5 int a{10}, b{20}; // OK
6 };
7
8 struct S2 {
9 int a, b = 20; // OK
10 };
11
12 struct S3 {
13 int a = 10, b = 20;
14 };