// PR c++/59347 template struct A { typedef int ::X; // { dg-error "" } }; A<0> a;