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