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++.mike
/
net13.C
blob
d56e87270e7e7066f67cb08582808588c32ec179
1
// Build don't link:
2
3
// make sure extern "C" friends work.
4
5
extern "C" { void func(); }
6
7
struct crash {
8
int i;
9
friend void func();
10
} a;
11
12
void func() {
13
a.i = 1;
14
}