summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-21 16:00:01 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-21 16:00:01 -0400
commit535d72045b35d01cf4513af273262c3c50c219fe (patch)
treeaca827d739a146f42091ceb29e614392b63c561a /tests
parent5334dee9b387e718de785ee8578219d854755002 (diff)
LIMIT
Diffstat (limited to 'tests')
-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})