summaryrefslogtreecommitdiffstats
path: root/test/unit/classes/TestClassLoop.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/classes/TestClassLoop.java')
-rw-r--r--test/unit/classes/TestClassLoop.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/unit/classes/TestClassLoop.java b/test/unit/classes/TestClassLoop.java
new file mode 100644
index 0000000..4275153
--- /dev/null
+++ b/test/unit/classes/TestClassLoop.java
@@ -0,0 +1,20 @@
+package test.input;
+
+public class TestLoop {
+
+ public static void main(String[] args) {
+
+ boolean a = true;
+ while(true) {
+ try {
+ if(!a) {
+ return;
+ }
+ } finally {
+ System.out.println("1");
+ }
+ }
+
+ }
+
+}