PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20000227-1.c
blob395a02c50c6e8df061337242efbc4247f955f5a5
1 static const unsigned char f[] = "\0\377";
2 static const unsigned char g[] = "\0ΓΏ";
4 int main(void)
6 if (sizeof f != 3 || sizeof g != 3)
7 abort ();
8 if (f[0] != g[0])
9 abort ();
10 if (f[1] != g[1])
11 abort ();
12 if (f[2] != g[2])
13 abort ();
14 return 0;