aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/xs.c
blob: 08b4ba25d5dad922c2c1026bf274cf7d0f5e2548 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-additional-options "-std=gnu89" } */

foo (a, b)
{
  for (b = 0; b < 10; b++)
    ;
  for (a = 0; a < 10; a++)
    ;
  a = b << 1;
  return a;
}