summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr32126.C
blob: c525cca684b16cd377c7e15944cf642a6c75f906 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-options "-std=c++0x" }
template<typename...> struct A;

template<typename...T> struct A<T> // { dg-error "not expanded|T|" }
{
 static int i;
};

A<char> a; // { dg-error "incomplete" }
A<int> b; // { dg-error "incomplete" }