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