aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs191/var/Code1.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs191/var/Code1.java')
-rw-r--r--tests/bugs191/var/Code1.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/bugs191/var/Code1.java b/tests/bugs191/var/Code1.java
new file mode 100644
index 000000000..58f93d1ba
--- /dev/null
+++ b/tests/bugs191/var/Code1.java
@@ -0,0 +1,6 @@
+public class Code1 {
+ public static void main(String []argv) {
+ var x = "hello";
+ System.out.println(x.getClass());
+ }
+}