[llvm-commits] CVS: llvm-java/test/Compiler/ForLoop.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Jun 12 18:45:00 PDT 2004
Changes in directory llvm-java/test/Compiler:
ForLoop.java added (r1.1)
---
Log message:
Add for loop test case.
---
Diffs of the changes: (+10 -0)
Index: llvm-java/test/Compiler/ForLoop.java
diff -c /dev/null llvm-java/test/Compiler/ForLoop.java:1.1
*** /dev/null Sat Jun 12 18:39:01 2004
--- llvm-java/test/Compiler/ForLoop.java Sat Jun 12 18:38:51 2004
***************
*** 0 ****
--- 1,10 ----
+ public class ForLoop
+ {
+ public static int main(String[] args) {
+ int sum = 0;
+ for (int i = 0; i < 100; ++i)
+ sum += i;
+
+ return sum;
+ }
+ }
More information about the llvm-commits
mailing list