diff options
Diffstat (limited to 'clang/test/Lexer/cxx0x_raw_string_unterminated.cpp')
-rw-r--r-- | clang/test/Lexer/cxx0x_raw_string_unterminated.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Lexer/cxx0x_raw_string_unterminated.cpp b/clang/test/Lexer/cxx0x_raw_string_unterminated.cpp new file mode 100644 index 0000000..dfbaaee --- /dev/null +++ b/clang/test/Lexer/cxx0x_raw_string_unterminated.cpp @@ -0,0 +1,4 @@ +// RUN: %clang_cc1 -std=c++11 -E %s 2>&1 | grep 'error: raw string missing terminating delimiter )foo"' + +const char *str = R"foo(abc +def)bar"; |