Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-ex2.C
blob: 8af3979d28d321023b1bb8f5cbbde9b56acbbb5b [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
class
...
Types
>
struct
B
{
void
f3
();
void
f4
();
};
template
<
class
...
Types
>
void
B
<
Types
...>::
f3
()
{
}
// OK
template
<
class
...
Types
>
void
B
<
Types
>::
f4
()
{
}
// { dg-error "packs not expanded" }