Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-new2.C
blob: 413e0701d7ae0bd610875852dc96a8e031271cfe [
file
] [
log
] [
blame
]
// { dg-do run { target c++11 } }
// PR c++/32597
#include
<assert.h>
#include
<new>
template
<
class
...
Args
>
void
f
(
Args
...
args
)
{
{
int
x
=
17
;
(
void
)
x
;
}
{
int
y
(
args
...);
assert
(
y
==
0
);
}
}
int
main
()
{
f
();
}