Commit f95eae39 by Andrew Haley Committed by Andrew Haley

EvaluationOrder.java (EvaluationOrder): New.

2002-10-15  Andrew Haley  <aph@redhat.com>

        * libjava.lang/EvaluationOrder.java (EvaluationOrder): New.
        * libjava.lang/EvaluationOrder.out (EvaluationOrder): New.

From-SVN: r58176
parent b4258f06
2002-10-15 Andrew Haley <aph@redhat.com>
* libjava.lang/EvaluationOrder.java (EvaluationOrder): New.
* libjava.lang/EvaluationOrder.out (EvaluationOrder): New.
2002-10-14 Andrew Haley <aph@redhat.com>
* libjava.lang/StaticConstructor.java: New.
......
public class EvaluationOrder
{
private static int first (int x, int y)
{
return x;
}
public static void main (String[] args)
{
int l = args.length;
/* This should print:
0
0
1
*/
System.out.println (l);
System.out.println (first (l, ++l));
System.out.println (l);
}
}
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