aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/t6204-b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/t6204-b.scala')
-rw-r--r--tests/pending/pos/t6204-b.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pending/pos/t6204-b.scala b/tests/pending/pos/t6204-b.scala
new file mode 100644
index 000000000..62f2b5d5c
--- /dev/null
+++ b/tests/pending/pos/t6204-b.scala
@@ -0,0 +1,10 @@
+import scala.reflect.runtime.universe._
+
+object Bosh {
+ def Besh: Unit = {
+ new {
+ val t = typeOf[Option[_]]
+ val x = t
+ }
+ }
+}