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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [Invoke_2.java] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
public class Invoke_2
2
{
3
  static int s;
4
 
5
  public static void foo (int a, int b)
6
  {
7
    System.out.println(a + " " + b);
8
  }
9
 
10
  public static void main(String[] args) {
11
    foo (bar(), s);
12
  }
13
 
14
  public static int bar()
15
  {
16
    s = 33;
17
    return 99;
18
  }
19
}
20
 

powered by: WebSVN 2.1.0

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