summaryrefslogblamecommitdiff
path: root/test/neg/bug40.check
blob: fd46531832cafceb354d24aa2e0330195e0a9748 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                        
bug40.scala:2: 'val' expected but integer literal found.
  val v = for (1 == 0) yield 1;
               ^
bug40.scala:3: illegal start of pattern
}
^
bug40.scala:2: '<-' expected but '}' found.
  val v = for (1 == 0) yield 1;
                               ^
three errors found