☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr83825.C
☽
☼
gcc/testsuite/g++.dg/template/pr83825.C
code
plain
raw
1
// PR c++/83825
2
// { dg-do compile }
3
4
template <int A>
5
class A {}; // { dg-error "shadows template parameter" }
6
7
template <int I>
8
class B
9
{
10
void foo () { A <I> a; }
11
};
12
13
template void B <0>::foo ();