aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t5639
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t5639')
-rw-r--r--tests/untried/pos/t5639/Bar.scala7
-rw-r--r--tests/untried/pos/t5639/Foo.scala7
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/untried/pos/t5639/Bar.scala b/tests/untried/pos/t5639/Bar.scala
new file mode 100644
index 000000000..f577500ac
--- /dev/null
+++ b/tests/untried/pos/t5639/Bar.scala
@@ -0,0 +1,7 @@
+package pack.age
+
+import pack.age.Implicits._
+
+object Quux {
+ def baz : Baz = 1
+}
diff --git a/tests/untried/pos/t5639/Foo.scala b/tests/untried/pos/t5639/Foo.scala
new file mode 100644
index 000000000..1a07734a8
--- /dev/null
+++ b/tests/untried/pos/t5639/Foo.scala
@@ -0,0 +1,7 @@
+package pack.age
+
+class Baz
+
+object Implicits {
+ implicit def Baz(n: Int): Baz = new Baz
+}