Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
friend12.C
blob: 612b0da02996b7c3540dcc7faf61cf62740f0acc [
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 "17:friend declaration .void bar\\(\\). in local class without prior local declaration" }
};
}