Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic-empty1.C

raw
1 // PR c++/85093
2 // { dg-do compile { target c++11 } }
3
4 template<class V> class A {};
5
6 template<class V, class... G> class B {
7 typedef A<V,G...> AB; // { dg-error "arguments" }
8 AB ab;
9 };
10
11 int main() {
12 B<int,double> b;
13 }