diff options
Diffstat (limited to 'tests/untried/neg/t5067.scala')
-rw-r--r-- | tests/untried/neg/t5067.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t5067.scala b/tests/untried/neg/t5067.scala new file mode 100644 index 000000000..f8235c0e8 --- /dev/null +++ b/tests/untried/neg/t5067.scala @@ -0,0 +1,4 @@ +class Foo extends Function2[Int, Int, Int] { + def apply(x: Int, y: Int) = x + y + override def tupled: (Int, Int) => Int = super.tupled +} |