[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/Lists4.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Fri Jan 21 19:29:06 PST 2005
Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:
Lists4.java added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes: (+11 -0)
Lists4.java | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm-java/test/Programs/SingleSource/UnitTests/Lists4.java
diff -c /dev/null llvm-java/test/Programs/SingleSource/UnitTests/Lists4.java:1.1
*** /dev/null Fri Jan 21 21:29:06 2005
--- llvm-java/test/Programs/SingleSource/UnitTests/Lists4.java Fri Jan 21 21:28:56 2005
***************
*** 0 ****
--- 1,11 ----
+ import java.util.*;
+
+ public class Lists4
+ {
+ public static void main(String[] args) {
+ LinkedList llist = new LinkedList();
+ llist.add(null);
+ Test.println(llist.getFirst() == null);
+ Test.println(llist.contains(null));
+ }
+ }
More information about the llvm-commits
mailing list