From 7569c085bc5bee02c88920374f7561c8f9dcc616 Mon Sep 17 00:00:00 2001 From: paltherr Date: Thu, 3 Jun 2004 09:19:07 +0000 Subject: - Added bug 328 --- test/files/run/bugs.check | 3 +++ test/files/run/bugs.scala | 9 +++++++++ 2 files changed, 12 insertions(+) (limited to 'test/files') 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 @@ -391,6 +391,14 @@ object Bug316Test { (new Bug316MyIterator) filter { x: Int => x == 1 }; } +//############################################################################ +// Bug 328 + +object Bug328Test { + def test(f: Function1[Int,String]): Unit = (); + def main(args: Array[String]): Unit = test(args); +} + //############################################################################ // Main @@ -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(); -- cgit v1.2.3