blob: d53d3177e6c98eda6ce41473a03591065c8f0927 [file] [log] [blame]
// PR c++/18698
// The compiler was giving an error message for invalid syntax
// that irrelevantly talked about using-declarations.
template<int> struct A
{
::A~(); // { dg-bogus "using-declaration" }
};
// Instead of the bogus error we get a different error.
// { dg-error "template-name|expected" "" { target *-*-* } 7 }