summaryrefslogtreecommitdiff
path: root/test/files/run/t5256e.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5256e.scala')
-rw-r--r--test/files/run/t5256e.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t5256e.scala b/test/files/run/t5256e.scala
new file mode 100644
index 0000000000..9ed422ca44
--- /dev/null
+++ b/test/files/run/t5256e.scala
@@ -0,0 +1,9 @@
+import scala.reflect.mirror._
+
+class C { class A }
+
+object Test extends App {
+ val c = classToType(classOf[C#A])
+ println(c)
+ println(c.typeSymbol == classToSymbol(classOf[C#A]))
+}