Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic103.C
blob: 69510e61becdda2d60f9fd4c39f2084cae6b42cf [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
class
T
>
T
&&
create
();
template
<
class
T
,
class
...
Args
>
void
test
()
{
T t
(
create
<
Args
>()...);
// { dg-error "incomplete" }
(
void
)
t
;
}
int
main
()
{
test
<
int
[]>();
}