OSDN Git Service

* testsuite/libjava.lang/ExtraClassLoader.out: New file.
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.lang / EvaluationOrder.java
1 public class EvaluationOrder
2  {
3      private static int first (int x, int y)
4      {
5          return x;
6      }
7
8      public static void main (String[] args)
9      {
10          int l = args.length;
11
12          /* This should print:
13  0
14  0
15  1
16          */
17          System.out.println (l);
18          System.out.println (first (l, ++l));
19          System.out.println (l);
20      }
21  }
22