diff options
| author | Bram Moolenaar <Bram@vim.org> | 2015-07-28 21:17:36 +0200 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2015-07-28 21:17:36 +0200 |
| commit | f7bb86dc593913d055e4cce16cec43f6271adda3 (patch) | |
| tree | d987f51511bb7af5395ea9adcc467b0a33660dd3 /src/testdir/test3.in | |
| parent | 52e21cf057e313a867b0f529c8e4d52ad5ae740d (diff) | |
| download | vim-git-f7bb86dc593913d055e4cce16cec43f6271adda3.tar.gz | |
patch 7.4.803v7.4.803
Problem: C indent does not support C11 raw strings. (Mark Lodato)
Solution: Do not change indent inside the raw string.
Diffstat (limited to 'src/testdir/test3.in')
| -rw-r--r-- | src/testdir/test3.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in index a321bb885..4f5331e56 100644 --- a/src/testdir/test3.in +++ b/src/testdir/test3.in @@ -891,6 +891,25 @@ namespace111111111 111111111111111111; } +void getstring() { +/* Raw strings */ +const char* s = R"( + test { + # comment + field: 123 + } + )"; + } + +void getstring() { +const char* s = R"foo( + test { + # comment + field: 123 + } + )foo"; + } + /* end of AUTO */ STARTTEST |
