aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/mbyte.c
blob: 01ea92768c240cd04ae88599f548fef2cc8fa830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-additional-options "-std=gnu89" } */

foo1 (p)
     char *p;
{
  p[0] = p[1];
  return p[0];
}

foo2 (p, x)
     char *p;
{
  p[0] = x;
  return p[0];
}