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

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

/* PR 16348: Make sure that condition-first false loops DTRT.  */

void
testTortureExecute (void)
{
  for (; 0 ;)
    {
      ASSERT (0);
    label:
      return;
    }
  goto label;
}