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] - Blame information for rev 844

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do run }
2
external_definition int main (int argc);
3
 
4
static int foo (int bba);
5
 
6
foo
7
{
8
        automatic int bar;
9
 
10
        bar = bba + +1;
11
        return bar;
12
}
13
 
14
main
15
{
16
  automatic int aaa = +3;
17
 
18
  aaa = foo (argc);
19
 
20
  if (aaa == +2)
21
    {
22
      return +0;
23
    }
24
  else
25
    {
26
      return +1;
27
    }
28
}

powered by: WebSVN 2.1.0

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