]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Select5.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Select5.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Select5.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Select5.scl
new file mode 100644 (file)
index 0000000..1817247
--- /dev/null
@@ -0,0 +1,11 @@
+import "StandardLibrary"
+import "Minigraph"
+
+main = withGraph do
+    r = map resource ["r0", "r1"]
+    sort $ map uriOf $ select ?x where 
+        Statement ?y (r!0) ?x
+        Statement ?x (r!1) ?y
+--
+6:24-8:30: Failed to compile the query.
+Unsolved variables: ?x, ?y
\ No newline at end of file