diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-11-17 21:30:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-11-17 21:30:27 +0100 |
commit | ca8b8d6956dd881de6446fc32c38e817a364a6cc (patch) | |
tree | cb255499ccba4e5bfb57549a049491cf4d36007a /src/testdir/test3.in | |
parent | 9f0e423c2818c0cacd0810f9c3c67cbb6b80963d (diff) | |
download | vim-ca8b8d6956dd881de6446fc32c38e817a364a6cc.zip |
patch 8.0.0092
Problem: C indenting does not support nested namespaces that C++ 17 has.
Solution: Add check that passes double colon inside a name. (Pauli, closes
#1214)
Diffstat (limited to 'src/testdir/test3.in')
-rw-r--r-- | src/testdir/test3.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in index c0a68d094..096f15219 100644 --- a/src/testdir/test3.in +++ b/src/testdir/test3.in @@ -1932,6 +1932,26 @@ namespace test { 111111111111111111; } +namespace test::cpp17 +{ + 111111111111111111; +} +namespace ::incorrectcpp17 +{ + 111111111111111111; +} +namespace test::incorrectcpp17:: +{ + 111111111111111111; +} +namespace test:incorrectcpp17 +{ + 111111111111111111; +} +namespace test:::incorrectcpp17 +{ + 111111111111111111; +} namespace{ 111111111111111111; } |