aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1975.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/i1975.scala')
-rw-r--r--tests/pos/i1975.scala5
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)
+}