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
commitbe9263be5864a7cc94cab5b971af9ff02c26cc70 (patch)
treec31b9042cedaabf6f1c471ed2595caefbed49543 /tests
parentc3607e368bf1d79c5ebaae2e8f9d3dba599953a5 (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