1 // PR c++/59347
2 
3 template<int> struct A
4 {
5   typedef int ::X;		// { dg-error "" }
6 };
7 
8 A<0> a;
9