]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InlineLoop.scl
Merge commit 'ffdf837'
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / InlineLoop.scl
1 data SList a = Nil | Cons a (SList a)
2
3 @inline
4 copy (Cons h t) = Cons h (copy t)
5 copy l = l
6
7 main = "OK"
8 --
9 OK