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.java7
1 files changed, 7 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..14d7b4a3
--- /dev/null
+++ b/test/transform/resource/before/VarNullInit.java
@@ -0,0 +1,7 @@
+import lombok.experimental.var;
+
+class VarNullInit {
+ void method() {
+ var x = null;
+ }
+} \ No newline at end of file