Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist51.C

raw
1 // PR c++/47184
2 // { dg-do compile { target c++11 } }
3
4 struct S
5 {
6 int a;
7 };
8 struct T
9 {
10 T(S s) {}
11 };
12 int main()
13 {
14 T t(S{1});
15 }