8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/20001009-1.c
Geoff Keating 80c0f62c94 20001009-1.c: New testcase.
* gcc.c-torture/compile/20001009-1.c: New testcase.
	* gcc.c-torture/execute/20001009-1.c: New testcase.
	Testcases provided by Jan Hubicka <jh@suse.cz>.

From-SVN: r36814
2000-10-09 20:34:02 +00:00

13 lines
140 B
C

int a,b;
main()
{
int c=-2;
int d=0xfe;
int e=a&1;
int f=b&2;
if ((char)(c|(e&f)) == (char)d)
return 0;
else
abort();
}