aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/typedIdents/PQ.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/typedIdents/PQ.scala')
-rw-r--r--tests/pos/typedIdents/PQ.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/typedIdents/PQ.scala b/tests/pos/typedIdents/PQ.scala
new file mode 100644
index 000000000..8a5afede0
--- /dev/null
+++ b/tests/pos/typedIdents/PQ.scala
@@ -0,0 +1,6 @@
+package P {
+ object X { val x = 1; val y = 2 }
+}
+package Q {
+ object X { val x = true; val y = "" }
+}