diff options
Diffstat (limited to 'test/files/neg/t4270.scala')
-rw-r--r-- | test/files/neg/t4270.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t4270.scala b/test/files/neg/t4270.scala new file mode 100644 index 0000000000..2c7c71d8c2 --- /dev/null +++ b/test/files/neg/t4270.scala @@ -0,0 +1,6 @@ +object Test1 { + object A { implicit val x: Int = 1 } + import A.x + def x: Int = 0 + implicitly[Int] +} |