summaryrefslogtreecommitdiff
path: root/src/testdir/test3.ok
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-11-10 14:06:53 +0100
committerBram Moolenaar <Bram@vim.org>2015-11-10 14:06:53 +0100
commite01f4f86cef7bed3cb99b26f9f57d86f6eb5fe1a (patch)
tree4235a8451174d4724c5b5854ae7dcba6635a21ae /src/testdir/test3.ok
parent450ca4335e467ac29c1560b7397225a974aee3bf (diff)
downloadvim-git-e01f4f86cef7bed3cb99b26f9f57d86f6eb5fe1a.tar.gz
patch 7.4.912v7.4.912
Problem: Wrong indenting for C++ constructor. Solution: Recognize ::. (Anhong)
Diffstat (limited to 'src/testdir/test3.ok')
-rw-r--r--src/testdir/test3.ok7
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