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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
shadow1.C
blob
3b67e77752f4024292ec66e9a6aa93e2d3405359
1
// { dg-do assemble }
2
// Bug: g++ thinks that the i in g() shadows the parm from f()
3
// Contributed by Jason Merrill <jason@cygnus.com>
4
5
void f (int i)
6
{
7
struct A {
8
void g () {
9
int i;
10
}
11
};
12
}