diff options
Diffstat (limited to 'src/testdir/test3.in')
| -rw-r--r-- | src/testdir/test3.in | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in index 56a1dc894..05efa9848 100644 --- a/src/testdir/test3.in +++ b/src/testdir/test3.in @@ -1345,7 +1345,7 @@ func(int a STARTTEST :set cino& -2kdd=][ +2kdd=4][ ENDTEST void func(void) @@ -1359,6 +1359,34 @@ void func(void) printf("Foo!\n"); } +void func1(void) +{ + char* tab[] = {"foo", "bar", + "baz", "quux", + "this line used", "to be indented incorrectly"}; + foo(); +} + +void func2(void) +{ + int tab[] = + {1, 2, + 3, 4, + 5, 6}; + + printf("This line used to be indented incorrectly.\n"); +} + +void func3(void) +{ + int tab[] = { + 1, 2, + 3, 4, + 5, 6}; + +printf("Don't you dare indent this line incorrectly!\n); +} + STARTTEST :set cino& 2kdd=][ |
