aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/t2660.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/t2660.scala')
-rw-r--r--tests/pending/pos/t2660.scala25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/pending/pos/t2660.scala b/tests/pending/pos/t2660.scala
deleted file mode 100644
index d42dcc72b..000000000
--- a/tests/pending/pos/t2660.scala
+++ /dev/null
@@ -1,25 +0,0 @@
-package hoho
-
-class G
-
-class H extends G
-
-class A[T](x: T) {
-
- def this(y: G, z: T) = {
- this(z)
- print(1)
- }
-
- def this(z: H, h: T) = {
- this(h)
- print(2)
- }
-}
-
-object T {
- def main(args: Array[String]): Unit = {
- implicit def g2h(g: G): H = new H
- new A(new H, 23)
- }
-}