Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / parse / friend4.C
blob5eca512e187f9d8a0207bfa8d53a040ef4f6529c
1 // { dg-do compile }
3 // PR c++/4100
4 // You can't use friend when defining a class.
6 class A {
7   friend class B { };   // { dg-error "friend" }
8 };