2 ! { dg-options "-fshort-enums" }
3 ! { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi* } }
4 ! Program to test enumerations when option -fshort-enums is given
9 enumerator :: red, black = 127
12 if (red /= 0) call abort
13 if (black /= 127) call abort
14 if (blue /= 128) call abort