Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
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" }
}