diff options
Diffstat (limited to 'test/files/neg/t9527a.scala')
-rw-r--r-- | test/files/neg/t9527a.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/neg/t9527a.scala b/test/files/neg/t9527a.scala new file mode 100644 index 0000000000..35c58fc9a6 --- /dev/null +++ b/test/files/neg/t9527a.scala @@ -0,0 +1,8 @@ +class C { + implicit def f(x: Int): String = "f was here" + implicit def g(x: Int): String = "f was here" + def test: Unit = { + implicitly[Int => String] + } +} + |