1 // { dg-options "-fshow-column -ansi -pedantic-errors -Wno-long-long" }
2 // PR c++/19395
3 
4 struct A {
5   typedef int ::X; // { dg-error "17:typedef name may not be a nested-name-specifier" }
6 };
7 
8 
9