OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [treelang/] [execute/] [funccall-2.tree] - Rev 816

Compare with Previous | Blame | View Log

// { dg-do run }
external_definition int main (int argc);

static int foo (int bba);

foo
{
        automatic int bar;

        bar = bba + +1;
        return bar;
}

main
{
  automatic int aaa = +3;

  aaa = foo (argc);
  
  if (aaa == +2)
    { 
      return +0;
    }
  else
    {
      return +1;
    }
}

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.