summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/ReachableEmpty.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/ReachableEmpty.java')
-rw-r--r--tests/pureJava/ReachableEmpty.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/pureJava/ReachableEmpty.java b/tests/pureJava/ReachableEmpty.java
new file mode 100644
index 000000000..37dd3dc4e
--- /dev/null
+++ b/tests/pureJava/ReachableEmpty.java
@@ -0,0 +1,19 @@
+public class ReachableEmpty {
+ public static void main(String[] args) { }
+
+ public void m() {
+ return;;
+ }
+
+ public int m1() {
+ return 2;;
+ }
+
+ public void m2() {
+ throw new Error();;
+ }
+
+ public void m3() {
+ return;;;;;;
+ }
+}