summaryrefslogtreecommitdiffstats
path: root/tests/new/Hello.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/Hello.java')
-rw-r--r--tests/new/Hello.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/new/Hello.java b/tests/new/Hello.java
new file mode 100644
index 000000000..473ee5251
--- /dev/null
+++ b/tests/new/Hello.java
@@ -0,0 +1,6 @@
+public class Hello {
+ public static void main(String[] args) {
+ System.out.println("hello world");
+ if (args.length > 1) throw new Error("e");
+ }
+}