OSDN Git Service

PR c++/37256
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / pr31432.C
1 // { dg-options "-std=gnu++0x" }
2 template<typename..., typename> struct A // { dg-error "parameter pack" }
3 {
4  static int i;
5 };
6
7 A<int, int> a; // { dg-error "mismatch|expected|invalid type" }
8 A<char,int> b; // { dg-error "mismatch|expected|invalid type" }