summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/pending/pos/t0591.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pending/pos/t0591.scala b/test/pending/pos/t0591.scala
new file mode 100644
index 0000000000..de02d6b579
--- /dev/null
+++ b/test/pending/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]]
+} \ No newline at end of file