8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/20000715-2.c
2000-07-15 20:08:48 +02:00

15 lines
200 B
C

extern void abort(void);
extern void exit(int);
unsigned int foo(unsigned int a)
{
return ((unsigned char)(a + 1)) * 4;
}
int main(void)
{
if (foo((unsigned char)~0))
abort ();
exit(0);
}