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
RISC-V: Fix rtl checking enabled failure with -msave-restore.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net13.C
blob
acf1f65ba7a6c0dba531ff39c227f7a572862d59
1
// { dg-do assemble }
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
}