A couple of unit tests
This commit is contained in:
20
test/unit/classes/TestClassLoop.java
Normal file
20
test/unit/classes/TestClassLoop.java
Normal file
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user