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
add c++/43145 tag to changelog and testcase
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
ns4.C
1
// PR c++/43145
2
// { dg-do link }
3
4
namespace N {
5
void f();
6
}
7
8
void N::f()
9
{
10
extern int i;
11
extern void g();
12
i = 1;
13
g();
14
}
15
16
namespace N {
17
int i;
18
void g() { }
19
}
20
21
int main() { }