Commit 3b551e09 by Andrew Haley Committed by Andrew Haley

Invoke_2.java: New file.

1999-05-12  Andrew Haley  <aph@cygnus.com>
        * libjava.lang/Invoke_2.java: New file.

From-SVN: r26900
parent d960c105
1999-05-12 Andrew Haley <aph@cygnus.com>
* libjava.lang/Invoke_2.java: New file.
1999-05-03 Tom Tromey <tromey@cygnus.com>
* lib/libjava.exp (libjava_arguments): Don't use -nodefaultlibs.
......
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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment