Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / testsuite / libjava.compile / pr17500.java
blob825133dc1bd3430ec83d08f8a93e1a969f021b4f
1 // gcj had a problem compiling code where two anonymous classes had
2 // captured constructor arguments of the same type but with different
3 // names.
5 public class pr17500
7 public Object m1 (final Object one)
9 return new Comparable()
11 public int compareTo(Object other)
13 return one == other ? 0 : 1;
18 public Object m2 (final Object two)
20 return new Comparable()
22 public int compareTo(Object other)
24 return two == other ? 0 : 1;