repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wshadow-10.C
blob
21d50020059062f22cbfe57e37cd86991a1cc188
1
// PR c++/56100
2
// { dg-options "-Wshadow" }
3
4
struct bar
5
{
6
template <typename T>
7
void baz () { int foo; }
8
};
9
10
int foo;
11
12
int main ()
13
{
14
bar ().baz <int> ();
15
}