]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/EmptyLet.scl
Merged changes from SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / EmptyLet.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/EmptyLet.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/EmptyLet.scl
new file mode 100644 (file)
index 0000000..68c6623
--- /dev/null
@@ -0,0 +1,9 @@
+import "Prelude"\r
+\r
+ex1 = let in 1\r
+ex2 = let {} in 2\r
+ex3 = let {a=3} in a \r
+\r
+main = ex1 + ex2 + ex3\r
+--\r
+6
\ No newline at end of file