aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t1987b/a.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t1987b/a.scala')
-rw-r--r--tests/pos/t1987b/a.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pos/t1987b/a.scala b/tests/pos/t1987b/a.scala
new file mode 100644
index 000000000..ff27044b6
--- /dev/null
+++ b/tests/pos/t1987b/a.scala
@@ -0,0 +1,7 @@
+package bug
+
+// goes with t1987b.scala
+package object packageb {
+ def func(a: Int) = ()
+ def func(a: String) = ()
+}