* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / init / const12.C
blob2f6f9b280fb5d2b385ede5dd1b1e41fc08c0dfee
1 // PR c++/69688
2 // { dg-do compile }
3 // { dg-options "-Wsign-compare" }
5 struct S
7   static const int s;
8   static const char c[];
9   static wchar_t w[];
11   S ()
12     {
13       for (int i = 0; i < s; i++)
14         w[i] = 0;
15     }
18 const char S::c[] = "x";
19 const int S::s = sizeof (S::c) - 1;
20 wchar_t S::w[S::s];