tcc-65816/test/tests/20030316-1.c
2017-06-09 13:52:12 +02:00

13 lines
201 B
C

/* 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;
}