From ef1f4e6404be2a50a04c5adc4daba7b171bb26e0 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Sat, 31 Jan 2015 04:46:57 +0100 Subject: added unit tests that confirmed break before the i694 fix and work afterwards. --- .../resource/after-ecj/ValWithLocalClasses.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/transform/resource/after-ecj/ValWithLocalClasses.java (limited to 'test/transform/resource/after-ecj') diff --git a/test/transform/resource/after-ecj/ValWithLocalClasses.java b/test/transform/resource/after-ecj/ValWithLocalClasses.java new file mode 100644 index 00000000..59880acf --- /dev/null +++ b/test/transform/resource/after-ecj/ValWithLocalClasses.java @@ -0,0 +1,20 @@ +class ValWithLocalClasses1 { + { + final @lombok.val ValWithLocalClasses2 f2 = new ValWithLocalClasses2() { + x() { + super(); + } + }; + } + ValWithLocalClasses1() { + super(); + } +} +class ValWithLocalClasses2 { + { + final @lombok.val int f3 = 0; + } + ValWithLocalClasses2() { + super(); + } +} -- cgit