[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/Equals.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Tue Jan 18 04:06:42 PST 2005
Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:
Equals.java updated: 1.1 -> 1.2
---
Log message:
Make test more interesting.
---
Diffs of the changes: (+3 -3)
Index: llvm-java/test/Programs/SingleSource/UnitTests/Equals.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Equals.java:1.1 llvm-java/test/Programs/SingleSource/UnitTests/Equals.java:1.2
--- llvm-java/test/Programs/SingleSource/UnitTests/Equals.java:1.1 Mon Jan 17 20:36:13 2005
+++ llvm-java/test/Programs/SingleSource/UnitTests/Equals.java Tue Jan 18 06:06:31 2005
@@ -1,9 +1,9 @@
public class Equals
{
public static void main(String[] args) {
- Integer i1 = new Integer(123);
- Integer i2 = new Integer(234);
- Integer i3 = new Integer(123);
+ Object i1 = new Integer(123);
+ Object i2 = new Integer(123);
+ Object i3 = new Long(123);
Test.println(i1.equals(i1));
Test.println(i1 == i1);
More information about the llvm-commits
mailing list