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] - Rev 765

Compare with Previous | Blame | View Log

public class Invoke_2
{
  static int s;
 
  public static void foo (int a, int b)
  {
    System.out.println(a + " " + b);
  }
 
  public static void main(String[] args) {
    foo (bar(), s);
  }
 
  public static int bar() 
  {
    s = 33;
    return 99;
  }
}
 
 

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.