summaryrefslogtreecommitdiff
path: root/tests/limit.lac
diff options
context:
space:
mode:
Diffstat (limited to 'tests/limit.lac')
-rw-r--r--tests/limit.lac4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/limit.lac b/tests/limit.lac
new file mode 100644
index 00000000..47c6bff4
--- /dev/null
+++ b/tests/limit.lac
@@ -0,0 +1,4 @@
+table t : {A : int, B : string, C : float}
+
+val q1 = (SELECT * FROM t LIMIT 42)
+val q2 = fn n => (SELECT * FROM t LIMIT {n})