☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist51.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist51.C
code
plain
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
}