[llvm-commits] CVS: llvm-java/test/Compiler/LongCompare.java

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu May 27 16:12:08 PDT 2004


Changes in directory llvm-java/test/Compiler:

LongCompare.java added (r1.1)

---
Log message:

Add test case for LCMP bytecode.


---
Diffs of the changes:  (+9 -0)

Index: llvm-java/test/Compiler/LongCompare.java
diff -c /dev/null llvm-java/test/Compiler/LongCompare.java:1.1
*** /dev/null	Thu May 27 16:09:06 2004
--- llvm-java/test/Compiler/LongCompare.java	Thu May 27 16:08:56 2004
***************
*** 0 ****
--- 1,9 ----
+ public class LongCompare
+ {
+     public static int main(String[] args) {
+         long l1 = 123456789123456789L;
+         long l2 = 987654321987654321L;
+ 
+         return l1 == l2 ? 1 : 0;
+     }
+ }





More information about the llvm-commits mailing list