diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pos/i1975.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pos/i1975.scala b/tests/pos/i1975.scala new file mode 100644 index 000000000..4657a6735 --- /dev/null +++ b/tests/pos/i1975.scala @@ -0,0 +1,5 @@ +object Test { + val X = Seq(1, 2) + + for (X <- Seq(3, 4)) yield println(X) +} |