Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / parse / access10.C
blob62adc1b16f99f1ab809b030370ad9d733b148b6f
1 // PR c++/18698
2 // The compiler was giving an error message for invalid syntax
3 // that irrelevantly talked about using-declarations.
5 template<int> struct A
7     ::A~();                     // { dg-bogus "using-declaration" }
8 };
10 // Instead of the bogus error we get a different error.
11 // { dg-error "template-name" "" { target *-*-* } 7 }