summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-04-06 16:23:03 +0000
committerUlrich Müller <ulm@gentoo.org>2015-04-06 16:24:17 +0000
commit6611d008e9d18e9da243b0ee8076ab3ae22d5355 (patch)
treed505709d62a0520ff3e7fa9055a46539386bf8b4 /test-plans/hello.j
downloademacs-6611d008e9d18e9da243b0ee8076ab3ae22d5355.tar.gz
emacs-6611d008e9d18e9da243b0ee8076ab3ae22d5355.tar.bz2
emacs-6611d008e9d18e9da243b0ee8076ab3ae22d5355.zip
Import test plans.
Diffstat (limited to 'test-plans/hello.j')
-rw-r--r--test-plans/hello.j17
1 files changed, 17 insertions, 0 deletions
diff --git a/test-plans/hello.j b/test-plans/hello.j
new file mode 100644
index 0000000..6ef8834
--- /dev/null
+++ b/test-plans/hello.j
@@ -0,0 +1,17 @@
+.class public HelloWorld.j
+.super java/lang/Object
+
+.method public <init>()V
+ aload_0
+ invokenonvirtual java/lang/Object/<init>()V
+ return
+.end method
+
+.method public static main([Ljava/lang/String;)V
+ .limit stack 2
+ .limit locals 2
+ getstatic java/lang/System/out Ljava/io/PrintStream;
+ ldc "Hello World."
+ invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
+ return
+.end method