]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Forall1.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Forall1.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Forall1.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Forall1.scl
new file mode 100644 (file)
index 0000000..32e51a7
--- /dev/null
@@ -0,0 +1,8 @@
+     \r
+id :: forall a. a -> a\r
+   // ^ not usually needed, but we test just that this is possible\r
+id x = x\r
+\r
+main = id (3 :: Integer)\r
+--\r
+3
\ No newline at end of file