aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/after/ForLoop.java
blob: f3b1bf4ed0241ef459d8bacf111e734c50125fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class ForLoop {
	public static void main(String[] args) {
		// before loop
		for (int i = 0; i < 10; i++) {
			// start of block
			System.out.println(i);
			// end of block
		}
		// after loop
	}
	
	{
		int i;
		for (i = 0; i < 10; i++) {
			System.out.println(i);
		}
	}
}