aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/charmtst.c
blob: 897b4ccd882a01e6346cc7b494e68b10e0517952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
void foo (int);
void bar (int, int);

int
c_move_tst (char b)
{
  char a;

  a = b;
  b = 'b';
  foo (a);
  foo (b);
  foo (a);
  bar (a, b);
  b = a;
  if (b == 0)
    a++;
  return a + b;
}