summaryrefslogtreecommitdiffstats
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-12 21:52:12 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-12 21:52:12 +0000
commit18144c84231aee36ae1d11b74941c9b318f1706a (patch)
tree6b9cf7e0337cd5966089e795c9278a1a86f9d5c1 /src/testdir
parent4c3f536f472c7443ed4f672ae6d35a28805d7641 (diff)
updated for version 7.0d02v7.0d02
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test3.in19
-rw-r--r--src/testdir/test3.ok19
2 files changed, 38 insertions, 0 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in
index cd725bffb3..51ad720957 100644
--- a/src/testdir/test3.in
+++ b/src/testdir/test3.in
@@ -723,6 +723,25 @@ void asdf() /* ind_maxparen may cause trouble here */
&& 1)) break;
}
+foo()
+{
+ a = cond ? foo() : asdf
+ + asdf;
+
+ a = cond ?
+ foo() : asdf
+ + asdf;
+}
+
+int main(void)
+{
+ if (a)
+ if (b)
+ 2;
+ else 3;
+ next_line_of_code();
+}
+
/* end of AUTO */
STARTTEST
diff --git a/src/testdir/test3.ok b/src/testdir/test3.ok
index 570f8f63d7..b197a28e00 100644
--- a/src/testdir/test3.ok
+++ b/src/testdir/test3.ok
@@ -711,6 +711,25 @@ void asdf() /* ind_maxparen may cause trouble here */
&& 1)) break;
}
+foo()
+{
+ a = cond ? foo() : asdf
+ + asdf;
+
+ a = cond ?
+ foo() : asdf
+ + asdf;
+}
+
+int main(void)
+{
+ if (a)
+ if (b)
+ 2;
+ else 3;
+ next_line_of_code();
+}
+
/* end of AUTO */