PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / error44.C
blob51053b2d8db4a4fbbd202cccb60d4079e3ead1fd
1 // PR c++/32056
3 template <auto int T> struct A {}; // { dg-error "storage class specified|two or more" }
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" }