summaryrefslogtreecommitdiff
path: root/tests/pkeyEscape.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-04-21 15:47:02 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-04-21 15:47:02 -0400
commitc298750a0ec5f17f3ab4d3734d981ddfa2617aa8 (patch)
tree165d8f853e8893de71822e03938cef56007ec894 /tests/pkeyEscape.ur
parent4b449641bbffae42ee02bb6d4dc6b821f2dd9f18 (diff)
Antiquote for PRIMARY KEY
Diffstat (limited to 'tests/pkeyEscape.ur')
-rw-r--r--tests/pkeyEscape.ur6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pkeyEscape.ur b/tests/pkeyEscape.ur
new file mode 100644
index 00000000..c432b1e9
--- /dev/null
+++ b/tests/pkeyEscape.ur
@@ -0,0 +1,6 @@
+table t : {A : int, B : int}
+ PRIMARY KEY {{primary_key [#A] [[B = _]]}}
+
+fun main () : transaction page =
+ queryI (SELECT * FROM t) (fn _ => return ());
+ return <xml/>