Retro68/gcc/libjava/testsuite/libjava.lang/Invoke_2.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

21 lines
262 B
Java

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;
}
}