diff options
Diffstat (limited to 'test/pos')
-rw-r--r-- | test/pos/bug29.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pos/bug29.scala b/test/pos/bug29.scala new file mode 100644 index 0000000000..1b33c6cffd --- /dev/null +++ b/test/pos/bug29.scala @@ -0,0 +1,3 @@ +object Main { + def f[a]: List[List[a]] = for (val l1 <- Nil; val l2 <- Nil) yield l1; +} |