// PR c++/56100 // { dg-options "-Wshadow" } template struct bar { void baz () { int foo; } }; int foo; int main () { bar ().baz (); }