summaryrefslogtreecommitdiffstats
path: root/tests/new/TryNoCatchCE.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/TryNoCatchCE.java')
-rw-r--r--tests/new/TryNoCatchCE.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/new/TryNoCatchCE.java b/tests/new/TryNoCatchCE.java
new file mode 100644
index 000000000..9c6f0f1a2
--- /dev/null
+++ b/tests/new/TryNoCatchCE.java
@@ -0,0 +1,7 @@
+
+public class TryNoCatchCE {
+ /* @testcase PR#643 PUREJAVA try without catch or finally */
+ public void notRun() {
+ try {} // expect CE here
+ }
+}