OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / error44.C
1 // PR c++/32056
2
3 template <auto int T> struct A {}; // { dg-error "storage class specified" }
4 template <extern int T> struct B {}; // { dg-error "storage class specified" }
5 template <static int T> struct C {}; // { dg-error "storage class specified" }
6 template <register int T> struct D {}; // { dg-error "storage class specified" }
7 template <mutable int T> struct E {}; // { dg-error "storage class specified" }