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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
shadow1.C
blob
f3f4d17979cf12e65a8f5cc5eb3b312204c835e0
1
// Special g++ Options: -Wshadow
2
// Build don't link:
3
4
class x {
5
public:
6
void fun();
7
private:
8
int foo;
9
};
10
11
void x::fun() { }
12
13
main ()
14
{
15
float foo;
16
}