summaryrefslogtreecommitdiffstats
path: root/test/unit/classes/TestClassLoop.java
diff options
context:
space:
mode:
authorStiver <stiver.mail@gmail.com>2014-08-09 17:34:24 +0200
committerStiver <stiver.mail@gmail.com>2014-08-09 17:34:24 +0200
commit70bf7f3f6993c6ea23dd568e39257b9c0dd6c8c7 (patch)
treec28f29fb61347743d7a236014d84e946368a9f9a /test/unit/classes/TestClassLoop.java
parent3b9b180d94cd259f34cf05e7275fe29e309103e2 (diff)
downloadfernflower-70bf7f3f6993c6ea23dd568e39257b9c0dd6c8c7.tar
fernflower-70bf7f3f6993c6ea23dd568e39257b9c0dd6c8c7.tar.gz
fernflower-70bf7f3f6993c6ea23dd568e39257b9c0dd6c8c7.tar.lz
fernflower-70bf7f3f6993c6ea23dd568e39257b9c0dd6c8c7.tar.xz
fernflower-70bf7f3f6993c6ea23dd568e39257b9c0dd6c8c7.zip
A couple of unit tests
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");
+ }
+ }
+
+ }
+
+}