Hi,
At a glance, it looks too early; it's valid to have namespace-qualified names after ->.I was also trying to construct such kind of example myself... but my patch does not regress on the testcase you wrote down. I can tell you exactly why, if you like..namespace A { struct B { int i; }; }; A::B* b; int i = b->A::B::i;
Paolo.