summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20011109-2.c
blob: 1abbbf2f6dadeda681f6eb79a9712e1303f04d33 (plain)
1
2
3
4
5
6
7
8
9
10
int main(void)
{
  char *c1 = "foo";
  char *c2 = "foo";
  int i;
  for (i = 0; i < 3; i++)
    if (c1[i] != c2[i])
      abort ();
  exit (0);
}