summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr26998.c
blob: d50c344734e0ca3f2807ae44e28fd793c53d7691 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */

int decCompareOp (int result)
{
    if (result != (int)0x80000000)
    {
        result = -result;
        return (result > 0);
    }
    return 0;
}