summaryrefslogtreecommitdiff
path: root/src/testdir/test3.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-12-14 20:21:35 +0100
committerBram Moolenaar <Bram@vim.org>2011-12-14 20:21:35 +0100
commitc367faad9915c6f780063ebb717a2d5b2aedbebe (patch)
treef40a025e2a154b3b222c29fc00f8f0f8d1997dd5 /src/testdir/test3.in
parenta528565cf1b33f629a192abfc71b0591f139f4a3 (diff)
downloadvim-git-c367faad9915c6f780063ebb717a2d5b2aedbebe.tar.gz
updated for version 7.3.380v7.3.380
Problem: C-indenting wrong for a function header. Solution: Skip to the start paren. (Lech Lorens)
Diffstat (limited to 'src/testdir/test3.in')
-rw-r--r--src/testdir/test3.in26
1 files changed, 24 insertions, 2 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in
index 6c43732ab..808d03191 100644
--- a/src/testdir/test3.in
+++ b/src/testdir/test3.in
@@ -1429,7 +1429,7 @@ func(int a
STARTTEST
:set cino&
-2kdd=4][
+2kdd=7][
ENDTEST
void func(void)
@@ -1478,7 +1478,29 @@ void func3(void)
3, 4,
5, 6};
-printf("Don't you dare indent this line incorrectly!\n);
+printf("Don't you dare indent this line incorrectly!\n");
+}
+
+void
+func4(a, b,
+ c)
+int a;
+int b;
+int c;
+{
+}
+
+void
+func5(
+ int a,
+ int b)
+{
+}
+
+void
+func6(
+ int a)
+{
}
STARTTEST