summaryrefslogtreecommitdiff
path: root/test/pending/run/t5256h.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/t5256h.scala')
-rw-r--r--test/pending/run/t5256h.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/pending/run/t5256h.scala b/test/pending/run/t5256h.scala
new file mode 100644
index 0000000000..4f9b8faf71
--- /dev/null
+++ b/test/pending/run/t5256h.scala
@@ -0,0 +1,8 @@
+import scala.reflect.mirror._
+
+object Test extends App {
+ val mutant = new { val x = 2 }
+ val c = classToType(mutant.getClass)
+ println(c)
+ println(c.typeSymbol == classToSymbol(mutant.getClass))
+}