[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/Makefile Test.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Dec 9 15:22:07 PST 2004
Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:
Makefile updated: 1.20 -> 1.21
Test.java updated: 1.1 -> 1.2
---
Log message:
Make Test test itself too :-)
---
Diffs of the changes: (+14 -0)
Index: llvm-java/test/Programs/SingleSource/UnitTests/Makefile
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Makefile:1.20 llvm-java/test/Programs/SingleSource/UnitTests/Makefile:1.21
--- llvm-java/test/Programs/SingleSource/UnitTests/Makefile:1.20 Thu Dec 9 00:14:25 2004
+++ llvm-java/test/Programs/SingleSource/UnitTests/Makefile Thu Dec 9 17:21:52 2004
@@ -22,6 +22,7 @@
LookupSwitch \
StaticInitializers \
TableSwitch \
+ Test \
VirtualCall \
VTable \
# MultiArray \
Index: llvm-java/test/Programs/SingleSource/UnitTests/Test.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Test.java:1.1 llvm-java/test/Programs/SingleSource/UnitTests/Test.java:1.2
--- llvm-java/test/Programs/SingleSource/UnitTests/Test.java:1.1 Wed Nov 24 03:00:42 2004
+++ llvm-java/test/Programs/SingleSource/UnitTests/Test.java Thu Dec 9 17:21:52 2004
@@ -9,4 +9,17 @@
public static native void print_long_ln(long l);
public static native void print_float_ln(float f);
public static native void print_double_ln(double d);
+
+ public static void main(String[] args) {
+ print_boolean_ln(true);
+ print_boolean_ln(false);
+ print_int_ln(123);
+ print_int_ln(-321);
+ print_long_ln(1234567890123456789L);
+ print_long_ln(-1234567890123456789L);
+ print_float_ln(753.46F);
+ print_float_ln(-753.46F);
+ print_double_ln(753.46);
+ print_double_ln(-753.46);
+ }
}
More information about the llvm-commits
mailing list