summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic-empty1.C
blob: 42daeaa3dcb1aa9eaf4571d96960136d786f3213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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;  
}