Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wshadow-10.C
blob: 21d50020059062f22cbfe57e37cd86991a1cc188 [
file
] [
log
] [
blame
]
// PR c++/56100
// { dg-options "-Wshadow" }
struct
bar
{
template
<
typename
T
>
void
baz
()
{
int
foo
;
}
};
int
foo
;
int
main
()
{
bar
().
baz
<int>
();
}