]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR8.scl
(refs #7250) Error messages for undefined existentials
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / CHR8.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR8.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR8.scl
new file mode 100644 (file)
index 0000000..ce3064a
--- /dev/null
@@ -0,0 +1,12 @@
+module {
+    export = [main],
+    chr
+}
+
+import "StandardLibrary"
+
+main = ()
+  where
+    X ?x => Y ?y
+--
+10:15-10:17: New existential variables can be defined only in queries.
\ No newline at end of file