blob: 2b869c05c87ec120e1632a1420349a5eb98ff895 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
int
f1 (long x)
{
return ((short) x >= 0) ? x : 0;
}
/* { dg-final { scan-assembler "tst\t(x|w)\[0-9\]*.*32768\n" } } */