aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValSuperDefaultMethod.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/ValSuperDefaultMethod.java')
-rw-r--r--test/transform/resource/before/ValSuperDefaultMethod.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/before/ValSuperDefaultMethod.java b/test/transform/resource/before/ValSuperDefaultMethod.java
new file mode 100644
index 00000000..93bcb153
--- /dev/null
+++ b/test/transform/resource/before/ValSuperDefaultMethod.java
@@ -0,0 +1,16 @@
+// version :9
+import lombok.val;
+
+class ValSuperDefaultMethod implements Default {
+ public void test() {
+ val a = "";
+ Default.super.method();
+ }
+
+}
+
+interface Default {
+ default void method() {
+
+ }
+} \ No newline at end of file