Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/template/static30.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// PR c++/31992 template <int> struct A { static const int i1; static const int i2; }; template <int N> const int A<N>::i1(A<N>::i); template <int N> const int A<N>::i2(3, A<N>::i); // { dg-error "expression list" }