summaryrefslogtreecommitdiff
path: root/test/pending/run/t4460.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/t4460.scala')
-rw-r--r--test/pending/run/t4460.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/pending/run/t4460.scala b/test/pending/run/t4460.scala
new file mode 100644
index 0000000000..324e2f5bef
--- /dev/null
+++ b/test/pending/run/t4460.scala
@@ -0,0 +1,12 @@
+trait A
+
+class B(val x: Int) {
+ self: A =>
+
+ def this() = this()
+}
+
+object Test extends B(2) with A {
+ def main(args: Array[String]) { }
+}
+