Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-9.3.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
friend12.C
blob: eb61fb5237869b32fe7a43aab7c6babfc0e9e58f [
file
] [
log
] [
blame
]
// PR c++/34912
void
foo
()
{
extern
void
bar
(
int
);
// not the bar we are looking for
struct
A
{
friend
void
bar
();
// { dg-error "without prior local declaration" }
};
}