summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20011114-1.c
blob: 9746c1e1d6fa4e50355cb2999c2ad7759b4ebce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
char foo(char bar[])
{
  return bar[1];
}
extern char foo(char *);
int main(void)
{
  if (foo("xy") != 'y')
    abort ();
  exit (0);
}