blob: 51053b2d8db4a4fbbd202cccb60d4079e3ead1fd (
plain)
1
2
3
4
5
6
7
|
// PR c++/32056
template <auto int T> struct A {}; // { dg-error "storage class specified|two or more" }
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" }
|