summaryrefslogtreecommitdiff
path: root/test/files/run/t6928-run.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6928-run.scala')
-rw-r--r--test/files/run/t6928-run.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/t6928-run.scala b/test/files/run/t6928-run.scala
new file mode 100644
index 0000000000..87a8884d60
--- /dev/null
+++ b/test/files/run/t6928-run.scala
@@ -0,0 +1,10 @@
+abstract class A( val someAs: A* ) {
+ override def toString = someAs.length + " As"
+}
+object B extends A(null, null, null)
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ println(B)
+ }
+}