blob: 1c5de9a8fd2c45edbc48b1ccd99f8926c611fe71 [file] [log] [blame]
// PR c++/45917
template < typename T >
struct A { static int i; };
class B { typedef int X; }; // { dg-error "private" }
void f() { A<B::X>::i = 0; } // { dg-error "this context" }