diff options
author | Martin Odersky <odersky@gmail.com> | 2015-09-29 19:18:12 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-09-29 19:19:31 +0200 |
commit | 48a1f089dd34a4554e98bb1edcc08eb7ebaee384 (patch) | |
tree | 4168647e6d5da5f7d9abf60fec5f883945b8fae1 /tests/pos | |
parent | a336ec0a700c0902c74d5318ab47929bc28c5413 (diff) | |
download | dotty-48a1f089dd34a4554e98bb1edcc08eb7ebaee384.tar.gz dotty-48a1f089dd34a4554e98bb1edcc08eb7ebaee384.tar.bz2 dotty-48a1f089dd34a4554e98bb1edcc08eb7ebaee384.zip |
Move test to pos
A test that checked for errors on overloading
now succeeds with the new rules.
Diffstat (limited to 'tests/pos')
-rw-r--r-- | tests/pos/t0273.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pos/t0273.scala b/tests/pos/t0273.scala new file mode 100644 index 000000000..10f426828 --- /dev/null +++ b/tests/pos/t0273.scala @@ -0,0 +1,7 @@ +class A + +object Test { +def a = () => () +def a[T] = (p:A) => () +def main(args: Array[String]) = () +} |