diff options
Diffstat (limited to 'test/pending/neg/bug1987.scala')
-rw-r--r-- | test/pending/neg/bug1987.scala | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/pending/neg/bug1987.scala b/test/pending/neg/bug1987.scala deleted file mode 100644 index d45f1b0f0d..0000000000 --- a/test/pending/neg/bug1987.scala +++ /dev/null @@ -1,14 +0,0 @@ - - -// Copyright Shunsuke Sogame 2008-2009. -// Distributed under the terms of an MIT-style license. - - -package object overloading { - def bar(f: (Int) => Unit): Unit = () - def bar(f: (Int, Int) => Unit): Unit = () -} - -class PackageObjectOverloadingTest { - overloading.bar( (i: Int) => () ) // doesn't compile. -} |