Sign in
llvm
/
llvm-archive
/
089ca8750d7cd1f1ec96968922bf4bcfe223bb3a
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.old-deja
/
g++.jason
/
scoping12.C
blob: 774fffc40a3f2c3014b31e10999e1006a69b4349 [
file
] [
log
] [
blame
]
// { dg-do compile }
void
f
()
{
struct
A
{
friend
void
g
();
// { dg-error "no matching function found in local scope" }
};
}
void
h
()
{
g
();
// { dg-error "use of undeclared identifier" }
}