aboutsummaryrefslogtreecommitdiff
path: root/test/pretty
diff options
context:
space:
mode:
Diffstat (limited to 'test/pretty')
-rw-r--r--test/pretty/resource/after/ForLoop.java7
-rw-r--r--test/pretty/resource/before/ForLoop.java7
2 files changed, 14 insertions, 0 deletions
diff --git a/test/pretty/resource/after/ForLoop.java b/test/pretty/resource/after/ForLoop.java
index 615f6e8a..f3b1bf4e 100644
--- a/test/pretty/resource/after/ForLoop.java
+++ b/test/pretty/resource/after/ForLoop.java
@@ -8,4 +8,11 @@ public class ForLoop {
}
// after loop
}
+
+ {
+ int i;
+ for (i = 0; i < 10; i++) {
+ System.out.println(i);
+ }
+ }
}
diff --git a/test/pretty/resource/before/ForLoop.java b/test/pretty/resource/before/ForLoop.java
index 2bed7f9b..8a58cbf2 100644
--- a/test/pretty/resource/before/ForLoop.java
+++ b/test/pretty/resource/before/ForLoop.java
@@ -9,4 +9,11 @@ public class ForLoop {
}
// after loop
}
+
+ {
+ int i;
+ for (i = 0; i < 10; i++) {
+ System.out.println(i);
+ }
+ }
}