aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ValLambda.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/ValLambda.java')
-rw-r--r--test/transform/resource/after-ecj/ValLambda.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ValLambda.java b/test/transform/resource/after-ecj/ValLambda.java
index fcb855b3..5b52869f 100644
--- a/test/transform/resource/after-ecj/ValLambda.java
+++ b/test/transform/resource/after-ecj/ValLambda.java
@@ -1,4 +1,14 @@
class ValLambda {
+ static {
+ final @lombok.val java.lang.Runnable foo = ((System.currentTimeMillis() > 0) ? (Runnable) () -> {
+} : System.out::println);
+ }
+ {
+ final @lombok.val java.lang.Runnable foo = ((System.currentTimeMillis() > 0) ? (Runnable) () -> {
+} : System.out::println);
+ }
+ <clinit>() {
+ }
ValLambda() {
super();
}