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 a different error.
11 // { dg-error "template-name" "" { target *-*-* } 7 }