Skip to content

Commit 5e48d1c

Browse files
committed
Add test case
1 parent 493fbbd commit 5e48d1c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/pos/i739.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
class Foo
2+
3+
object Test {
4+
def foo[T](x: T)(implicit ev: T): T = ???
5+
6+
def test: Unit = {
7+
implicit val evidence: Foo = new Foo
8+
foo(new Foo)
9+
}
10+
}

0 commit comments

Comments
 (0)