From f205501be80001855b06d64c4260adafe6dc4417 Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Tue, 9 Jun 2009 13:22:01 +0000 Subject: Added a series of pending test cases. --- test/pending/pos/bug2023.scala | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/pending/pos/bug2023.scala (limited to 'test/pending/pos/bug2023.scala') diff --git a/test/pending/pos/bug2023.scala b/test/pending/pos/bug2023.scala new file mode 100644 index 0000000000..22ae76bdd7 --- /dev/null +++ b/test/pending/pos/bug2023.scala @@ -0,0 +1,16 @@ +trait C[A] + +object C { + implicit def ipl[A](implicit from: A => Ordered[A]): C[A] = null +} + +object P { + def foo[A](i: A, j: A)(implicit c: C[A]): Unit = () +} + +class ImplicitChainTest { + def testTrivial: Unit = { + P.foo('0', '9') + P.foo('0', '9') + } +} \ No newline at end of file -- cgit v1.2.3