Debian Codegraph @

gcc/testsuite/g++.dg/parse/access9.C

raw
1 // PR c++/24782
2
3 class Foo { public: typedef int type1; };
4 class Bar { private: typedef Foo type2; }; // { dg-message "private" }
5 void g(Bar::type2::type1) {} // { dg-error "context" }