Debian Codegraph @

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

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