/*
   20000706-4.c from the execute part of the gcc torture tests.
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

int *c;

void bar(int b)
{
  if (*c != 1 || b != 2)
    ASSERT(0);
}

void foo(int a, int b)
{
  c = &a;
  bar(b);
}

void
testTortureExecute (void)
{
  foo(1, 2);
  return;
}

