☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
extern-c-redecl4.C
☽
☼
gcc/testsuite/g++.dg/lookup/extern-c-redecl4.C
code
plain
raw
1
// Contributed by Dodji Seketeli <
[email protected]
>
2
// Origin: PR c++/41020
3
4
// { dg-options "" }
5
// { dg-do compile }
6
7
class frok
8
{
9
int this_errno;
10
friend int fork (void);
11
};
12
13
void
14
foo ()
15
{
16
fork (); // { dg-error "was not declared in this scope" }
17
}