2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // DR161: Access to protected nested type
19 friend void ftest(void)
36 struct B : public A<T>
40 typename A<T>::type t;
43 friend void ftest(B b)
45 typename A<T>::type t;
49 template struct B<void>;