* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / semicolon-fixits.C
bloba9cc783b1725ae34a02ebe06cdcc62f7741986bb
1 /* { dg-options "-fdiagnostics-show-caret -Wpedantic" } */
3 /* Struct with extra semicolon.  */
4 struct s1 { int i;; }; /* { dg-warning "19: extra .;." } */
5 /* { dg-begin-multiline-output "" }
6  struct s1 { int i;; };
7                    ^
8                    -
9    { dg-end-multiline-output "" } */
11 /* Union with extra semicolon.  */
12 union u1 { int i;; }; /* { dg-warning "18: extra .;." } */
13 /* { dg-begin-multiline-output "" }
14  union u1 { int i;; };
15                   ^
16                   -
17    { dg-end-multiline-output "" } */