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
Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
extern-c-redecl4.C
blob
c385ea701a2d6d251df4cc1025a16176f80beb77
1
// Contributed by Dodji Seketeli <dodji@redhat.com>
2
// Origin: PR c++/41020
3
4
// { dg-options "" }
5
// { dg-do compile }
6
// { dg-final { scan-assembler "call\[\t \]+\[^\$\]*?_Z4forkv" { target i?86-*-* x86_64-*-* } } }
7
8
class frok
9
{
10
int this_errno;
11
friend int fork (void);
12
};
13
14
void
15
foo ()
16
{
17
fork ();
18
}