Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-empty1.C
blob: 42daeaa3dcb1aa9eaf4571d96960136d786f3213 [
file
] [
log
] [
blame
]
// PR c++/85093
// { dg-do compile { target c++11 } }
template
<
class
V
>
class
A
{};
template
<
class
V
,
class
...
G
>
class
B
{
typedef
A
<
V
,
G
...>
AB
;
// { dg-error "arguments" }
AB ab
;
};
int
main
()
{
B
<
int
,
double
>
b
;
}