X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Ftests%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FEmptyLet.scl;fp=bundles%2Forg.simantics.scl.compiler%2Ftests%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FEmptyLet.scl;h=68c662378360f52bce14a4fc31c8d1c39e199d93;hp=0000000000000000000000000000000000000000;hb=7a7c389f2ffddb4e4170098e4f5facca1fa8b633;hpb=621bec7b0f646eb559d24d01183bc8c5c3bbef1a 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 index 000000000..68c662378 --- /dev/null +++ b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/EmptyLet.scl @@ -0,0 +1,9 @@ +import "Prelude" + +ex1 = let in 1 +ex2 = let {} in 2 +ex3 = let {a=3} in a + +main = ex1 + ex2 + ex3 +-- +6 \ No newline at end of file