aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t4460a.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t4460a.scala')
-rw-r--r--tests/untried/neg/t4460a.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/neg/t4460a.scala b/tests/untried/neg/t4460a.scala
new file mode 100644
index 000000000..0a7a22178
--- /dev/null
+++ b/tests/untried/neg/t4460a.scala
@@ -0,0 +1,7 @@
+trait A
+
+class B(val x: Int) {
+ self: A =>
+
+ def this() = this() // was binding to Predef.<init> !!
+}