summaryrefslogtreecommitdiff
path: root/test/files/run/fors.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/fors.scala')
-rw-r--r--test/files/run/fors.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/fors.scala b/test/files/run/fors.scala
index c7682f563d..54afdc710b 100644
--- a/test/files/run/fors.scala
+++ b/test/files/run/fors.scala
@@ -76,10 +76,10 @@ object Test extends App {
for {x <- it
if x % 2 == 0} print(x + " "); println
for (x <- it;
- val y = 2
+ y = 2
if x % y == 0) print(x + " "); println
for {x <- it
- val y = 2
+ y = 2
if x % y == 0} print(x + " "); println
// arrays