OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / crash91.C
1 // PR c++/28293
2
3 template<int> void foo();
4
5 struct A
6 {
7   typedef void foo<0>(); // { dg-error "explicit template argument list not allowed" } 
8 };