Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
friend15.C
blob: e05cc555707ee6eb9dec5a6bfe319f4c790566ff [
file
] [
log
] [
blame
]
// Origin: PR c++/35109
// { dg-do compile }
void
foo
()
{
struct
A
{
friend
class
B
;
};
B
::
B
()
{}
// { dg-error "has not been declared" }
}