aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr59221.c
blob: 0cd425948fcb58f9524be08f584860273733994d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


int a = 1, b, d;
short e;

int
main ()
{
  for (; b; b++)
    ;
  short f = a;
  int g = 15;
  e = f ? f : 1 << g;
  int h = e;
  d = h == 83647 ? 0 : h;
  if (d != 1)
    __builtin_abort ();
  return 0;
}