PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20001203-1.c
blob803c6a8905233e4933d3962b875c242fb04192e3
1 /* Origin: PR c/410 from Jan Echternach
2 <jan.echternach@informatik.uni-rostock.de>,
3 adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
4 */
6 extern void exit (int);
8 static void
9 foo (void)
11 struct {
12 long a;
13 char b[1];
14 } x = { 2, { 0 } };
17 int
18 main (void)
20 int tmp;
21 foo ();
22 tmp = 1;
23 exit (0);