]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeAlias1.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / TypeAlias1.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeAlias1.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeAlias1.scl
new file mode 100644 (file)
index 0000000..3aad9bf
--- /dev/null
@@ -0,0 +1,9 @@
+\r
+type Id = Integer\r
+\r
+incrementId :: Id -> Id\r
+incrementId x = x\r
+\r
+main = incrementId 3\r
+--\r
+3
\ No newline at end of file