]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/nsdmi-list1.C
Regenerate riscv.opt.urls and i386.opt.urls
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / nsdmi-list1.C
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 };