2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / Wunreachable-6.c
blob77b6228fc862cd1699ea4ed13bb3d1fdf0d1364f
1 /* PR c/11370 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wunreachable-code" } */
5 int main(int argc, char *argv[])
7 if (argc != 1)
8 exit(1);
11 int ix; /* { dg-bogus "will never be executed" } */
12 ix = printf("hello\n");
13 printf("%d\n", ix);
16 return 0;