summaryrefslogtreecommitdiff
path: root/test/pending/run/t5256g.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/t5256g.scala')
-rw-r--r--test/pending/run/t5256g.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pending/run/t5256g.scala b/test/pending/run/t5256g.scala
new file mode 100644
index 0000000000..6158a9281d
--- /dev/null
+++ b/test/pending/run/t5256g.scala
@@ -0,0 +1,11 @@
+import scala.reflect.mirror._
+
+class A
+trait B
+
+object Test extends App {
+ val mutant = new A with B
+ val c = classToType(mutant.getClass)
+ println(c)
+ println(c.typeSymbol == classToSymbol(mutant.getClass))
+}