]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/SSATypingBug.scl
(refs #7307) Added features field to SCL module header
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / SSATypingBug.scl
1 import "Prelude"
2
3 test :: () -> [Integer]
4 test _ = do
5   header = [0]
6   rows = map (\foo -> map (\bar -> bar) [foo]) [1..5]
7   foldl (+) header rows
8   
9 main = test ()
10 --
11 [0, 1, 2, 3, 4, 5]