2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20020116-1.c
blob6c023edcabe7813fb0af5af07fdb2d8da5f10631
1 void noret (void) __attribute__ ((noreturn));
2 int foo (int, char **);
3 char *a, *b;
4 int d;
6 int
7 main (int argc, char **argv)
9 register int c;
11 d = 1;
12 while ((c = foo (argc, argv)) != -1)
13 switch (c) {
14 case 's':
15 case 'c':
16 case 'f':
17 a = b;
18 break;
19 case 'v':
20 d = 1;
21 break;
22 case 'V':
23 d = 0;
24 break;
26 noret ();
27 return 0;