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++.ns
/
lookup4.C
blob
208a9d68459b907ae612a715ecd9862b930d78f6
1
//Build don't link:
2
namespace X{
3
typedef int foo;
4
const int bar=2;
5
namespace Y{
6
void f(foo);
7
extern int g;
8
extern int g1;
9
struct h{
10
void i(foo);
11
};
12
}
13
}
14
15
void X::Y::f(foo)
16
{
17
}
18
19
int X::Y::g = bar;
20
int X::Y::g1(bar);
21
22
void X::Y::h::i(foo)
23
{}