OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Formatting fixes.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
ns12.C
1
// { dg-do run }
2
namespace fred
3
{
4
int barney();
5
extern int wilma;
6
}
7
8
int fred::barney()
9
{
10
return fred::wilma;
11
}
12
13
int fred::wilma;
14
15
int barney()
16
{
17
return 1;
18
}
19
20
int main()
21
{
22
return fred::barney();
23
}