summaryrefslogtreecommitdiff
path: root/test/files/pos/t6294.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t6294.scala')
-rw-r--r--test/files/pos/t6294.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/pos/t6294.scala b/test/files/pos/t6294.scala
new file mode 100644
index 0000000000..c6d39a9cc8
--- /dev/null
+++ b/test/files/pos/t6294.scala
@@ -0,0 +1,14 @@
+
+
+
+object A {
+ @annotation.static final val x = 123
+}
+
+
+object B {
+ println(A.x)
+}
+
+
+