summaryrefslogtreecommitdiff
path: root/test/files/pos/bug76.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug76.scala')
-rw-r--r--test/files/pos/bug76.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/bug76.scala b/test/files/pos/bug76.scala
index 07cddd714f..5419cf5154 100644
--- a/test/files/pos/bug76.scala
+++ b/test/files/pos/bug76.scala
@@ -1,6 +1,6 @@
// This is extracted from a test file => don't add a new test file.
object bug {
- def foo(def i: Int): Int = 0;
+ def foo(i: => Int): Int = 0;
def bar: Int = {
var i: Int = 0;