]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/InvalidKinds.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / InvalidKinds.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/InvalidKinds.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/InvalidKinds.scl
new file mode 100644 (file)
index 0000000..a18c062
--- /dev/null
@@ -0,0 +1,7 @@
+\r
+data List a = Nil | Cons a (List a)\r
+\r
+foo :: List\r
+foo = foo\r
+--\r
+4:8-4:12: Expected a type with kind * but got * -> *.
\ No newline at end of file