diff options
Diffstat (limited to 'tests/untried/neg/t4460b.scala')
-rw-r--r-- | tests/untried/neg/t4460b.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/neg/t4460b.scala b/tests/untried/neg/t4460b.scala new file mode 100644 index 000000000..1233017dd --- /dev/null +++ b/tests/untried/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> !! + } +} |