3 // Origin: Giovanni Bajo <giovannibajo@libero.it>
5 // PR c++/13495: Nested class as template friend.
21 enum { foo = 0 }; // { dg-error "private" }
33 void A<T>::B::func1(void)
40 void A<T>::B::func2(void)
42 (void)F1<T*>::foo; // { dg-error "context" }
46 template class A<int>; // { dg-error "instantiated" }