]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/StringMatching1.scl
Re-enabled Acorn transaction cancellation support for testing
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / StringMatching1.scl
1 main :: Integer\r
2 main = match "Bar" with\r
3   "Foo" -> 1\r
4   "Bar" -> 2\r
5   _ -> 3\r
6 --\r
7 2