summaryrefslogtreecommitdiff
path: root/test-nsc/files/run/bugs.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test-nsc/files/run/bugs.scala')
-rwxr-xr-xtest-nsc/files/run/bugs.scala16
1 files changed, 0 insertions, 16 deletions
diff --git a/test-nsc/files/run/bugs.scala b/test-nsc/files/run/bugs.scala
index 95e66877bd..2398f23d13 100755
--- a/test-nsc/files/run/bugs.scala
+++ b/test-nsc/files/run/bugs.scala
@@ -319,22 +319,6 @@ object Bug257Test {
}
}
-object Bug257Test {
- def sayhello(): Unit = { Console.println("hello"); };
-
- def f1(x: Unit): Unit = ();
- def f2(x: Unit)(y: Unit): Unit = ();
-
- def f(x: => Unit) = {
- f1(x);
- f2(x);
- }
-
- def main(args: Array[String]): Unit = {
- f(sayhello())
- }
-}
-
//############################################################################
// Bug 266