summaryrefslogtreecommitdiff
path: root/test/files/neg/specification-scopes/P_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/specification-scopes/P_1.scala')
-rw-r--r--test/files/neg/specification-scopes/P_1.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/specification-scopes/P_1.scala b/test/files/neg/specification-scopes/P_1.scala
new file mode 100644
index 0000000000..3b11f1167d
--- /dev/null
+++ b/test/files/neg/specification-scopes/P_1.scala
@@ -0,0 +1,6 @@
+package P {
+ object X { val x = 1; val y = 2; }
+}
+package Q {
+ object X { val x = true; val y = "" }
+}