diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/bugs.check | 3 | ||||
-rw-r--r-- | test/files/run/bugs.scala | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/bugs.check b/test/files/run/bugs.check index a6786e92a3..fe780cd863 100644 --- a/test/files/run/bugs.check +++ b/test/files/run/bugs.check @@ -82,3 +82,6 @@ hello <<< bug 316 >>> bug 316 +<<< bug 328 +>>> bug 328 + diff --git a/test/files/run/bugs.scala b/test/files/run/bugs.scala index 3aa4784033..31c82eb490 100644 --- a/test/files/run/bugs.scala +++ b/test/files/run/bugs.scala @@ -392,6 +392,14 @@ object Bug316Test { } //############################################################################ +// Bug 328 + +object Bug328Test { + def test(f: Function1[Int,String]): Unit = (); + def main(args: Array[String]): Unit = test(args); +} + +//############################################################################ // Main object Test { @@ -436,6 +444,7 @@ object Test { test(266, Bug266Test.main(args)); test(281, if (args(0) == "int") () else Bug281Test.main(args)); // !!! test(316, Bug316Test.main(args)); + test(328, Bug328Test.main(args)); if (errors > 0) { System.out.println(); |