Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/template/pr83825.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
// PR c++/83825 // { dg-do compile } template <int A> class A {}; // { dg-error "shadows template parameter" } template <int I> class B { void foo () { A <I> a; } }; template void B <0>::foo ();