summaryrefslogtreecommitdiff
path: root/test/pending/run/t5256h.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/t5256h.check')
-rw-r--r--test/pending/run/t5256h.check8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/pending/run/t5256h.check b/test/pending/run/t5256h.check
new file mode 100644
index 0000000000..4f9b8faf71
--- /dev/null
+++ b/test/pending/run/t5256h.check
@@ -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))
+}