]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions4.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / LocalDefinitions4.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions4.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions4.scl
new file mode 100644 (file)
index 0000000..fe07e47
--- /dev/null
@@ -0,0 +1,8 @@
+\r
+first p = x\r
+  where \r
+    (x,y) = p\r
+    \r
+main = first (3 :: Integer,4 :: Integer)\r
+--\r
+3
\ No newline at end of file