summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-05-27 15:10:52 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-05-27 15:10:52 -0400
commit0091af30d2d24940404e49b30a6d0e2a0e4ba4e7 (patch)
treec31b9042cedaabf6f1c471ed2595caefbed49543 /tests
parentf2bb854da19b535ab4590eaccfb1696bcffb42e8 (diff)
Consider view declarations while shaking
Diffstat (limited to 'tests')
-rw-r--r--tests/fitem.ur6
-rw-r--r--tests/fitem.urp1
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/fitem.ur b/tests/fitem.ur
new file mode 100644
index 00000000..282146c4
--- /dev/null
+++ b/tests/fitem.ur
@@ -0,0 +1,6 @@
+table t : { A : int, B : string }
+table u : { A : int, C : float }
+
+val q : sql_query [] [T = [A = int, B = string], U = [C = option float]] [] =
+ (SELECT t.A, t.B, u.C
+ FROM {{sql_left_join (FROM t) (FROM u) (WHERE TRUE)}})
diff --git a/tests/fitem.urp b/tests/fitem.urp
new file mode 100644
index 00000000..61d7a37b
--- /dev/null
+++ b/tests/fitem.urp
@@ -0,0 +1 @@
+fitem