aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ValWithLocalClasses.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-31 04:46:57 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-31 04:46:57 +0100
commitef1f4e6404be2a50a04c5adc4daba7b171bb26e0 (patch)
tree74c4839c21443e667dd7264a2472bb67da39638a /test/transform/resource/after-delombok/ValWithLocalClasses.java
parent6a91c013ca2b20cc378515b83e3584f1dad958c0 (diff)
downloadlombok-ef1f4e6404be2a50a04c5adc4daba7b171bb26e0.tar.gz
lombok-ef1f4e6404be2a50a04c5adc4daba7b171bb26e0.tar.bz2
lombok-ef1f4e6404be2a50a04c5adc4daba7b171bb26e0.zip
added unit tests that confirmed break before the i694 fix and work afterwards.
Diffstat (limited to 'test/transform/resource/after-delombok/ValWithLocalClasses.java')
-rw-r--r--test/transform/resource/after-delombok/ValWithLocalClasses.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ValWithLocalClasses.java b/test/transform/resource/after-delombok/ValWithLocalClasses.java
new file mode 100644
index 00000000..b739b10e
--- /dev/null
+++ b/test/transform/resource/after-delombok/ValWithLocalClasses.java
@@ -0,0 +1,11 @@
+class ValWithLocalClasses1 {
+ {
+ final ValWithLocalClasses2 f2 = new ValWithLocalClasses2(){
+ };
+ }
+}
+class ValWithLocalClasses2 {
+ {
+ final int f3 = 0;
+ }
+}