diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t4910.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t4910.scala b/test/files/pos/t4910.scala new file mode 100644 index 0000000000..c66fd523f5 --- /dev/null +++ b/test/files/pos/t4910.scala @@ -0,0 +1,6 @@ +class A { + implicit object foo + // it compiles if we uncomment this + // implicit val bar = foo + implicitly[foo.type] +} |