]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/StringInterpolation3.scl
Merge "Re-enabled Acorn transaction cancellation support for testing"
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / StringInterpolation3.scl
1 import "Prelude"\r
2 // Test optimized special cases\r
3 \r
4 main = let\r
5     a = "123"\r
6     b = "456"\r
7     c = "\(a)"\r
8     d = "abc\(b)"\r
9     e = "\(d)def"\r
10  in "\(c)\(e)"\r
11 --\r
12 123abc456def