]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Arity1.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Arity1.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Arity1.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Arity1.scl
new file mode 100644 (file)
index 0000000..fa48e47
--- /dev/null
@@ -0,0 +1,9 @@
+\r
+data Foo a = Foo a\r
+\r
+f :: Foo a -> a\r
+f = \Foo a -> a \r
+\r
+main = "Not to be executed"\r
+--\r
+5:6-5:11: Arity is 1 but 2 patterns have been given.
\ No newline at end of file