summaryrefslogtreecommitdiff
path: root/test/pending/pos/t5259.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/pos/t5259.scala')
-rw-r--r--test/pending/pos/t5259.scala14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/pending/pos/t5259.scala b/test/pending/pos/t5259.scala
deleted file mode 100644
index 317e28a9dc..0000000000
--- a/test/pending/pos/t5259.scala
+++ /dev/null
@@ -1,14 +0,0 @@
-object DefaultArgBogusTypeMismatch {
-
- class A[T]
- class B {
- type T = this.type
- def m(implicit a : A[T] = new A[T]) = a
- }
-
- def newB = new B
- val a1 = newB.m // Bogus type mismatch
-
- val stableB = new B
- val a2 = stableB.m // OK
-}