From 0f861010989cb03d09003f91d936f100080b1a18 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 15 Feb 2012 04:45:28 +0100 Subject: Couple more tests for val --- test/transform/resource/before/ValInBasicFor.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/transform/resource/before/ValInBasicFor.java (limited to 'test/transform/resource/before/ValInBasicFor.java') diff --git a/test/transform/resource/before/ValInBasicFor.java b/test/transform/resource/before/ValInBasicFor.java new file mode 100644 index 00000000..1f132b8f --- /dev/null +++ b/test/transform/resource/before/ValInBasicFor.java @@ -0,0 +1,10 @@ +import lombok.val; + +public class ValInBasicFor { + public void basicFor() { + java.util.List list = java.util.Arrays.asList("Hello, World!"); + for (val shouldBe = 1, marked = "", error = 1.0; ; ) { + System.out.println(""); + } + } +} \ No newline at end of file -- cgit