2 // The compiler was giving an error message for invalid syntax
3 // that irrelevantly talked about using-declarations.
7 ::A~(); // { dg-bogus "using-declaration" }
10 // Instead of the bogus error we get 3 separate errors.
11 // { dg-error "no type" "" { target *-*-* } 7 }
12 // { dg-error "::" "" { target *-*-* } 7 }
13 // { dg-error "~" "" { target *-*-* } 7 }