aboutsummaryrefslogtreecommitdiff
path: root/test/pretty
diff options
context:
space:
mode:
Diffstat (limited to 'test/pretty')
-rw-r--r--test/pretty/resource/after/Java11Var.javva6
-rw-r--r--test/pretty/resource/before/Java11Var.java7
2 files changed, 13 insertions, 0 deletions
diff --git a/test/pretty/resource/after/Java11Var.javva b/test/pretty/resource/after/Java11Var.javva
new file mode 100644
index 00000000..cec4be6d
--- /dev/null
+++ b/test/pretty/resource/after/Java11Var.javva
@@ -0,0 +1,6 @@
+public class Java11Var {
+ public void test() {
+ var b = 10;
+ int c = 11;
+ }
+}
diff --git a/test/pretty/resource/before/Java11Var.java b/test/pretty/resource/before/Java11Var.java
new file mode 100644
index 00000000..cfbe1989
--- /dev/null
+++ b/test/pretty/resource/before/Java11Var.java
@@ -0,0 +1,7 @@
+//version 11:
+public class Java11Var {
+ public void test() {
+ var b = 10;
+ int c = 11;
+ }
+}