summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20030316-1.c
blob: bde2e136ad3fdc84e09b79baaa763257e1d2e4d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR target/9164 */
/* The comparison operand was sign extended erraneously.  */

int
main (void)
{
    long j = 0x40000000;
    if ((unsigned int) (0x40000000 + j) < 0L)
 	abort ();

    return 0;
}