summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-920202-1.c
blob: 6a56e6319f22cce3cd93c61ddf91f1a21552274f (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
24
25
26
27
28
29
30
/*
   920202-1.c from the execute part of the gcc torture suite.
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

static int rule_text_needs_stack_pop = 0;
static int input_stack_pos = 1;

f (void)
{
  rule_text_needs_stack_pop = 1;

  if (input_stack_pos <= 0)
    return 1;
  else
    return 0;
}

void
testTortureExecute (void)
{
  f ();
  return;
}