summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_cindent.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_cindent.vim')
-rw-r--r--src/testdir/test_cindent.vim48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/testdir/test_cindent.vim b/src/testdir/test_cindent.vim
index c7ce2babe2..d8ea4e772e 100644
--- a/src/testdir/test_cindent.vim
+++ b/src/testdir/test_cindent.vim
@@ -996,6 +996,15 @@ func Test_cindent_1()
22222222222222222;
}
}
+ inline namespace {
+ 111111111111111111;
+ }
+ inline /* test */ namespace {
+ 111111111111111111;
+ }
+ inline/* test */namespace {
+ 111111111111111111;
+ }
/* invalid namespaces use block indent */
namespace test test2 {
@@ -1019,6 +1028,9 @@ func Test_cindent_1()
{
111111111111111111;
}
+ inlinenamespace {
+ 111111111111111111;
+ }
void getstring() {
/* Raw strings */
@@ -1961,6 +1973,15 @@ func Test_cindent_1()
22222222222222222;
}
}
+ inline namespace {
+ 111111111111111111;
+ }
+ inline /* test */ namespace {
+ 111111111111111111;
+ }
+ inline/* test */namespace {
+ 111111111111111111;
+ }
/* invalid namespaces use block indent */
namespace test test2 {
@@ -1984,6 +2005,9 @@ func Test_cindent_1()
{
111111111111111111;
}
+ inlinenamespace {
+ 111111111111111111;
+ }
void getstring() {
/* Raw strings */
@@ -4358,6 +4382,15 @@ func Test_cindent_47()
22222222222222222;
}
}
+ inline namespace {
+ 111111111111111111;
+ }
+ inline /* test */ namespace {
+ 111111111111111111;
+ }
+ inline/* test */namespace {
+ 111111111111111111;
+ }
/* invalid namespaces use block indent */
namespace test test2 {
@@ -4381,6 +4414,9 @@ func Test_cindent_47()
{
111111111111111111;
}
+ inlinenamespace {
+ 111111111111111111;
+ }
NAMESPACEEND
[CODE]
@@ -4449,6 +4485,15 @@ func Test_cindent_47()
22222222222222222;
}
}
+ inline namespace {
+ 111111111111111111;
+ }
+ inline /* test */ namespace {
+ 111111111111111111;
+ }
+ inline/* test */namespace {
+ 111111111111111111;
+ }
/* invalid namespaces use block indent */
namespace test test2 {
@@ -4472,6 +4517,9 @@ func Test_cindent_47()
{
111111111111111111;
}
+ inlinenamespace {
+ 111111111111111111;
+ }
NAMESPACEEND
[CODE]