2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030612-1.c
blobf9f212caba112278fb463846c8efa760106aaf55
1 /* Derived from PR middle-end/168. */
3 /* { dg-do compile } */
4 /* { dg-options "-W" } */
6 extern void foo ();
8 unsigned char uc;
9 unsigned short int usi;
10 unsigned int ui;
13 void bar()
15 if (uc + usi >= ui) /* { dg-bogus "between signed and unsigned" } */
16 foo ();
17 if (uc * usi >= ui) /* { dg-bogus "between signed and unsigned" } */
18 foo ();