Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
();
}