summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/990106-1.c
blob: 6631bfd96cb58bd1cfa5e85628d035712849f08e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
foo(bufp)
char *bufp;
{
    int x = 80;
    return (*bufp++ = x ? 'a' : 'b');
}

main()
{
  char x;

  if (foo (&x) != 'a')
    abort ();

  exit (0);
}