blob: 40f5b7cfe2592db4e1826bd852ab0dc983093fa4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
namespace fred
{
int barney();
extern int wilma;
}
int fred::barney()
{
return fred::wilma;
}
int fred::wilma;
int barney()
{
return 1;
}
int main()
{
return fred::barney();
}
|