1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/26693
7 typedef int mytype; // { dg-error "typedef int A::mytype' is private" }
10 template <class T> class B : public A
12 mytype mem; // { dg-error "within this context" }
15 B<int> b; // { dg-message "required from here" }