summaryrefslogtreecommitdiff
path: root/test/files/run/bug4753.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/bug4753.scala')
-rw-r--r--test/files/run/bug4753.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/bug4753.scala b/test/files/run/bug4753.scala
new file mode 100644
index 0000000000..cfb252cbe5
--- /dev/null
+++ b/test/files/run/bug4753.scala
@@ -0,0 +1,12 @@
+trait A {
+ val actualType: Class[_]
+}
+trait B extends A {
+ final val actualType = classOf[Boolean]
+}
+
+object Test extends B {
+ def main(args: Array[String]): Unit = {
+ println(actualType)
+ }
+}