diff options
Diffstat (limited to 'tests/untried/pos/t0591.scala')
-rw-r--r-- | tests/untried/pos/t0591.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/pos/t0591.scala b/tests/untried/pos/t0591.scala new file mode 100644 index 000000000..15f2dba08 --- /dev/null +++ b/tests/untried/pos/t0591.scala @@ -0,0 +1,7 @@ +object Test { + def implicitly[T](implicit t : T) = t + implicit def perhaps[T](implicit t : T) : Option[T] = Some(t) + implicit val hello = "Hello" + implicitly[String] + implicitly[Option[String]] +} |