summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/trunc.c
blob: dee0e158728c833c0adc89dae2d3e9651c54567e (plain)
1
2
3
4
5
6
7
8
9
10
11
main ()
{
  printf ("%x, %x\n", (unsigned char) main, main);
}

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