]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/LocalDefinitions5.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / LocalDefinitions5.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/LocalDefinitions5.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/LocalDefinitions5.scl
new file mode 100644 (file)
index 0000000..97cf72c
--- /dev/null
@@ -0,0 +1,13 @@
+import "Prelude"\r
+\r
+data Foo = Foo Double Double\r
+\r
+a = Foo 1 2\r
+\r
+b = y\r
+  where\r
+    Foo x y = a\r
+    \r
+main = show b\r
+--\r
+2.0
\ No newline at end of file