diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-11-10 14:06:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-11-10 14:06:53 +0100 |
commit | e01f4f86cef7bed3cb99b26f9f57d86f6eb5fe1a (patch) | |
tree | 4235a8451174d4724c5b5854ae7dcba6635a21ae /src/testdir/test3.ok | |
parent | 450ca4335e467ac29c1560b7397225a974aee3bf (diff) | |
download | vim-e01f4f86cef7bed3cb99b26f9f57d86f6eb5fe1a.zip |
patch 7.4.912
Problem: Wrong indenting for C++ constructor.
Solution: Recognize ::. (Anhong)
Diffstat (limited to 'src/testdir/test3.ok')
-rw-r--r-- | src/testdir/test3.ok | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test3.ok b/src/testdir/test3.ok index 477aacc1c..c4c01a3d4 100644 --- a/src/testdir/test3.ok +++ b/src/testdir/test3.ok @@ -651,6 +651,13 @@ Constructor::Constructor(int a, { } +A::A(int a, int b) + : aa(a), + bb(b), + cc(c) +{ +} + class CAbc : public BaseClass1, protected BaseClass2 |