summaryrefslogtreecommitdiff
path: root/test/files/pos/t6204-b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t6204-b.scala')
-rw-r--r--test/files/pos/t6204-b.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t6204-b.scala b/test/files/pos/t6204-b.scala
new file mode 100644
index 0000000000..86094d1a19
--- /dev/null
+++ b/test/files/pos/t6204-b.scala
@@ -0,0 +1,10 @@
+import scala.reflect.runtime.universe._
+
+object Bosh {
+ def Besh {
+ new {
+ val t = typeOf[Option[_]]
+ val x = t
+ }
+ }
+} \ No newline at end of file