2 /* { dg-do compile } */
3 /* { dg-options "-Wtype-limits" } */
4 /* { dg-additional-options "-fno-short-enums" { target short_enums } } */
11 int valid(enum test_enum arg
)
13 return arg
>= 0 && arg
<= BAR
;
16 int valid2(unsigned int arg2
)
18 return arg2
>= FOO
&& arg2
<= BAR
; /* { dg-bogus "comparison of unsigned expression" "" { xfail *-*-* } } */