mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 04:08:59 +08:00
3b551e09f1
1999-05-12 Andrew Haley <aph@cygnus.com> * libjava.lang/Invoke_2.java: New file. From-SVN: r26900
21 lines
262 B
Java
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;
|
|
}
|
|
}
|
|
|