Mercurial > vim
diff src/testdir/test3.ok @ 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.ok +++ b/src/testdir/test3.ok @@ -1331,7 +1331,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) +{ }