]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions5.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / LocalDefinitions5.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions5.scl b/tests/org.simantics.scl.compiler.tests/src/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