]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/StringInterpolation2.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / StringInterpolation2.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/StringInterpolation2.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/StringInterpolation2.scl
new file mode 100644 (file)
index 0000000..9d21943
--- /dev/null
@@ -0,0 +1,6 @@
+stringSum :: String -> Integer\r
+stringSum "(\(a),\(b),\(c))" = a + b + c\r
+\r
+main = stringSum "(1,2,3)"\r
+--\r
+6
\ No newline at end of file