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