Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
extern-c-redecl4.C
blob: f7fae78259c98b33bcf7fbab29fc2e8b26dbb8ab [
file
] [
log
] [
blame
]
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin: PR c++/41020
// { dg-options "" }
// { dg-do compile }
class
frok
{
int
this_errno
;
friend
int
fork
(
void
);
};
void
foo
()
{
fork
();
// { dg-error "was not declared in this scope" }
}