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
Forgot files from r153825
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
extern-c-redecl4.C
1
// Contributed by Dodji Seketeli <dodji@redhat.com>
2
// Origin: PR c++/41020
3
4
// Avoid the "-ansi -pedantic" option
5
// { dg-options "" }
6
// { dg-do compile }
7
// { dg-final { scan-assembler "call\[\t \]+_Z4forkv" } }
8
9
class frok
10
{
11
int this_errno;
12
friend int fork (void);
13
};
14
15
void
16
foo ()
17
{
18
fork ();
19
}