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