// DR 401 class X { typedef int a; // { dg-error "private" } static const int b = 5; // { dg-error "private" } template struct c; // { dg-error "private" } }; template // { dg-error "context" } struct A; template // { dg-error "context" } struct B; template