aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/before/Java11Var.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/pretty/resource/before/Java11Var.java')
-rw-r--r--test/pretty/resource/before/Java11Var.java7
1 files changed, 7 insertions, 0 deletions
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;
+ }
+}