Debian Codegraph @

gcc/testsuite/g++.dg/template/access26.C

raw
1 // PR c++/45917
2
3 template < typename T >
4 struct A { static int i; };
5 class B { typedef int X; }; // { dg-message "private" }
6 void f() { A<B::X>::i = 0; } // { dg-error "this context" }