aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t3999/a_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t3999/a_1.scala')
-rw-r--r--tests/untried/pos/t3999/a_1.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/pos/t3999/a_1.scala b/tests/untried/pos/t3999/a_1.scala
new file mode 100644
index 000000000..54c1b86ce
--- /dev/null
+++ b/tests/untried/pos/t3999/a_1.scala
@@ -0,0 +1,9 @@
+package foo
+
+class Outside
+
+package object bar {
+ class Val(b: Boolean)
+ implicit def boolean2Val(b: Boolean) = new Val(b)
+ implicit def boolean2Outside(b: Boolean) = new Outside
+}