aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/VarNullInit.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/VarNullInit.java')
-rw-r--r--test/transform/resource/before/VarNullInit.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/before/VarNullInit.java b/test/transform/resource/before/VarNullInit.java
new file mode 100644
index 00000000..efdc9d9e
--- /dev/null
+++ b/test/transform/resource/before/VarNullInit.java
@@ -0,0 +1,8 @@
+//CONF: lombok.var.flagUsage = ALLOW
+import lombok.experimental.var;
+
+public class VarNullInit {
+ void method() {
+ var x = null;
+ }
+} \ No newline at end of file