blob: 4f732cdd7018158efabe3f6c558c338467e554e6 (
plain)
1
2
3
4
5
6
7
|
// PR c++/32056
template <auto int T> struct A {}; // { dg-error "storage class specified" }
template <extern int T> struct B {}; // { dg-error "storage class specified" }
template <static int T> struct C {}; // { dg-error "storage class specified" }
template <register int T> struct D {}; // { dg-error "storage class specified" }
template <mutable int T> struct E {}; // { dg-error "storage class specified" }
|