]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Select8.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Select8.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Select8.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Select8.scl
new file mode 100644 (file)
index 0000000..7877044
--- /dev/null
@@ -0,0 +1,10 @@
+import "StandardLibrary"
+
+Foo ?a ?b ?l :-
+    @ffb
+    (?a,?b) <- ?l
+
+main = select ?x where
+    Foo ?x 3 [(1,2),(2,3),(3,4)]
+--
+[2]
\ No newline at end of file