1 // This test case was built for java/3096.
5 static void foo (int x[], int i) {
8 static void foo (float x[], int i) {
11 public static void main(String [] args) {
12 int a[] = new int [1];
13 float f[] = new float [1];
18 System.out.println (a[0]);
19 System.out.println (f[0]);
20 System.out.println ((b=a)[0]);
23 System.out.println (a[0]+", "+b[0]);
24 System.out.println (++a[i]);
25 System.out.println (a[i]);
26 System.out.println (a[i]++);
27 System.out.println (a[i]);
28 String s[] = new String [1];
32 System.out.println (s[0]);
34 System.out.println (s[0]+", "+y[0]);