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