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

26 lines
264 B
C

int b = 0;
func () { }
void
testit(int x)
{
if (x != 20)
abort ();
}
int
main()
{
int a = 0;
if (b)
func();
/* simplify_and_const_int would incorrectly omit the mask in
the line below. */
testit ((a + 23) & 0xfffffffc);
exit (0);
}