Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / error44.C
blob4f732cdd7018158efabe3f6c558c338467e554e6
1 // PR c++/32056
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" }