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
Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
shadow1.C
blob
fe3ec951b782e843f1a4a7d3230e8e4f6a9f6b16
1
// { dg-do assemble }
2
// { dg-options "-Wshadow" }
3
4
class x {
5
public:
6
void fun();
7
private:
8
int foo;
9
};
10
11
void x::fun() { }
12
13
int
14
main ()
15
{
16
float foo;
17
return 0;
18
}