aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/VarInForOld.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/VarInForOld.java')
-rw-r--r--test/transform/resource/after-ecj/VarInForOld.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/VarInForOld.java b/test/transform/resource/after-ecj/VarInForOld.java
new file mode 100644
index 00000000..98fedf03
--- /dev/null
+++ b/test/transform/resource/after-ecj/VarInForOld.java
@@ -0,0 +1,12 @@
+import lombok.experimental.var;
+public class VarInForOld {
+ public VarInForOld() {
+ super();
+ }
+ public void oldFor() {
+ for (@var int i = 0;; (i < 100); ++ i)
+ {
+ System.out.println(i);
+ }
+ }
+} \ No newline at end of file