summaryrefslogtreecommitdiff
path: root/test/files/run/Course-2002-01.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/Course-2002-01.scala')
-rw-r--r--test/files/run/Course-2002-01.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/Course-2002-01.scala b/test/files/run/Course-2002-01.scala
index 11d29540af..1e97cf0886 100644
--- a/test/files/run/Course-2002-01.scala
+++ b/test/files/run/Course-2002-01.scala
@@ -41,7 +41,7 @@ object M0 {
def loop: Int = loop;
def first(x: Int, y: Int) = x;
- def constOne(x: Int, def y: Int) = 1;
+ def constOne(x: Int, y: => Int) = 1;
java.lang.System.out.println(constOne(1, loop));