Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wshadow-8.C
blob: 4f1ed02f31a1ad1d60a00949af3bdf55f7b8ace7 [
file
] [
log
] [
blame
]
// PR c++/56100
// { dg-options "-Wshadow" }
template
<
typename
T
>
struct
bar
{
void
baz
()
{
int
foo
;
}
};
int
foo
;
int
main
()
{
bar
<int>
().
baz
();
}