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