* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / access10.C
blobd53d3177e6c98eda6ce41473a03591065c8f0927
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|expected" "" { target *-*-* } 7 }