Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / friend15.C
blobe05cc555707ee6eb9dec5a6bfe319f4c790566ff
1 // Origin: PR c++/35109
2 // { dg-do compile }
4 void foo()
6   struct A
7   {
8     friend class B;
9   };
10   B::B() {} // { dg-error "has not been declared" }