aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/after/ForLoop.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/pretty/resource/after/ForLoop.java')
-rw-r--r--test/pretty/resource/after/ForLoop.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pretty/resource/after/ForLoop.java b/test/pretty/resource/after/ForLoop.java
new file mode 100644
index 00000000..615f6e8a
--- /dev/null
+++ b/test/pretty/resource/after/ForLoop.java
@@ -0,0 +1,11 @@
+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
+ }
+}