summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/mchar.c
blob: a1b106037f7cf5f3cd47233b8f149cabdfeeed42 (plain)
1
2
3
4
5
6
7
8
9
10
11
int
foo (char *a, char *b)
{
  int x;
  *a = *b;
  x = *b;
  if ((char) x)
    return 1;
  else
    return 0;
}