Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-new3.C
blob: 04a8f5c21df569edc3bd34479da2a038d240815b [
file
] [
log
] [
blame
]
// PR c++/93173
// { dg-do compile { target c++11 } }
template
<typename>
struct
S1
{
S1
(
S1
&);
~
S1
();
};
struct
S2
{
S1
<void>
x
;
int
y
;
int
z
;
};
void
f
(
S1
<void>
x
,
int
y
,
int
z
)
{
new
S2
{
x
,
y
,
z
};
}