Mercurial > vim
diff src/testdir/test3.in @ 3220:534b3ef1cf14 v7.3.380
updated for version 7.3.380
Problem: C-indenting wrong for a function header.
Solution: Skip to the start paren. (Lech Lorens)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Dec 2011 20:21:35 +0100 |
parents | 0f193ef0f429 |
children | 214c7ec1c8f9 |
line wrap: on
line diff
--- 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