aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/pr20187-1.c
blob: a1f0a091cf688431f0e92f939456469192ad9cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int a = 0x101;
int b = 0x100;

int
test (void)
{
  return (((unsigned char) (unsigned long long) ((a ? a : 1) & (a * b)))
	  ? 0 : 1);
}

int
main (void)
{
  return 1 - test ();
}