Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wshadow-10.C

raw
1 // PR c++/56100
2 // { dg-options "-Wshadow" }
3
4 struct bar
5 {
6 template <typename T>
7 void baz () { int foo; }
8 };
9
10 int foo;
11
12 int main ()
13 {
14 bar ().baz <int> ();
15 }