]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions3.scl
Merge "Added memory leak test and fixed the leak by removing references"
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / LocalDefinitions3.scl
1
2 data Step s = Skip s
3
4 next :: (s -> Step s) -> s -> Step s 
5 next next0 ss = match next0 ss with 
6     Skip ss -> Skip ss
7     
8 main = next (\x -> Skip x) (3 :: Integer)
9 --
10 3