OSDN Git Service

* gcc.dg/weak/typeof-2.c: Needs aliases as well as weak.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20031111-1.c
1 /* Make sure that dead code isn't eliminated too early, avoiding 
2    detection of errors.  */
3 /* { dg-do compile } */
4
5 void foo(void)
6 {
7   if (0)
8     break;              /* { dg-error "" } */
9   if (1)
10     ;
11   else
12     continue;           /* { dg-error "" } */
13 }