Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/template/error44.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// PR c++/32056 template <auto int T> struct A {}; // { dg-error "11:storage class specified" "" { target c++98_only } } // { dg-error "two or more" "" { target c++11 } .-1 } template <extern int T> struct B {}; // { dg-error "11:storage class specified" } template <static int T> struct C {}; // { dg-error "11:storage class specified" } template <register int T> struct D {}; // { dg-error "11:storage class specified" } template <mutable int T> struct E {}; // { dg-error "11:storage class specified" }