]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/InvalidRuleset2.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / InvalidRuleset2.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/InvalidRuleset2.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/InvalidRuleset2.scl
new file mode 100644 (file)
index 0000000..675ee49
--- /dev/null
@@ -0,0 +1,11 @@
+data Fact = Foo1 | Foo2\r
+data Fact2 = Bar\r
+\r
+rs = ruleset\r
+  Foo1, Foo2 <=> [Bar]\r
+\r
+main = "Not to be executed."\r
+--\r
+5:19-5:22: Expected\r
+    <Fact> got\r
+    <Fact2>.
\ No newline at end of file