aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pureJava/SimpleSpec.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/SimpleSpec.java')
-rw-r--r--tests/pureJava/SimpleSpec.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pureJava/SimpleSpec.java b/tests/pureJava/SimpleSpec.java
new file mode 100644
index 000000000..d345a1d4f
--- /dev/null
+++ b/tests/pureJava/SimpleSpec.java
@@ -0,0 +1,9 @@
+public class SimpleSpec {
+ public void m() {
+ throw new RuntimeException();
+ throw new Integer(1);
+
+ for (;;) { System.out.println("hi"); }
+ for (;1;) { System.out.println("hi"); }
+ }
+}