Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto49.C
blob: 25b09dfdec1ab133f57f79b9f0573243653318aa [
file
] [
log
] [
blame
]
// PR c++/84350
// { dg-do compile { target c++11 } }
template
<
typename
...
T
>
void
foo
(
T
...
t
)
{
new
auto
(
t
...);
// { dg-error "invalid use" }
}
void
bar
()
{
foo
();
}