* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / error40.C
blob643f1f56c53b6f91e3a0e86db0b4ea663ecff008
1 // PR c++/31489
3 class foo;   // { dg-message "'class foo'" }
4 struct bar;  // { dg-message "'struct bar'" }
6 int main()
8   foo* f = new foo; // { dg-error "'class foo'" }
9   bar* b = new bar; // { dg-error "'struct bar'" }