1 // PR c++/27508
2 // { dg-do compile }
3 
4 struct A;
5 using ::~A;  // { dg-error "not a class-name" }
6