summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-20011109-2.c
blob: d7513dedece1300669f178f5d4ee5f26044f3765 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
   20011109-2.c from the execute part of the gcc torture tests.
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

void
testTortureExecute (void)
{
  const char *c1 = "foo";
  const char *c2 = "foo";
  int i;
  for (i = 0; i < 3; i++)
    if (c1[i] != c2[i])
      ASSERT (0);
  return;
}