OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / void9.C
1 //PR c++/28738
2
3 template<int,void> struct A {};    // { dg-error "not a valid type" }
4 template<int N> struct A<N,0> {};  // { dg-error "not a valid type" }