Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/template/error44.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
line wrap: on
line source
// 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" }