☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-new3.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist-new3.C
code
plain
raw
1
// PR c++/93173
2
// { dg-do compile { target c++11 } }
3
4
template<typename> struct S1 {
5
S1(S1 &);
6
~S1();
7
};
8
struct S2 {
9
S1<void> x;
10
int y;
11
int z;
12
};
13
void f(S1<void> x, int y, int z) { new S2{x, y, z}; }