aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t2591.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t2591.scala')
-rw-r--r--tests/untried/pos/t2591.scala15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/untried/pos/t2591.scala b/tests/untried/pos/t2591.scala
deleted file mode 100644
index 47ae551bf..000000000
--- a/tests/untried/pos/t2591.scala
+++ /dev/null
@@ -1,15 +0,0 @@
-class A
-class B
-
-object Implicits {
- implicit def imp(x: A): Int = 41
- implicit def imp(x: B): Int = 41
-}
-
-object Test {
- // should cause imp to be in scope so that the next expression type checks
- // `import Implicits._` works
- import Implicits.imp
-
- (new A) : Int
-}