Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / parse / access3.C
blob7c8abff91b483b1aeaa0fac55f776ae5d043b2bd
1 // { dg-do compile }
3 // Origin: <bagnara@cs.unipr.it>
5 // PR c++/7809: Befriending inaccessible name.
7 class A {
8 private:
9   void f();             // { dg-message "private" }
12 class B {
13   friend void A::f();   // { dg-error "context" }