summaryrefslogtreecommitdiffstats
path: root/test/unit/classes/TestClassLoop.java
blob: 4275153287b45ded2d84a99eb3c5236ac4d36644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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");
			}
		}
	
	}
	
}