diff options
Diffstat (limited to 'test/Lexer/cxx0x_raw_string_unterminated.cpp')
-rw-r--r-- | test/Lexer/cxx0x_raw_string_unterminated.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Lexer/cxx0x_raw_string_unterminated.cpp b/test/Lexer/cxx0x_raw_string_unterminated.cpp new file mode 100644 index 0000000000000..dfbaaeee1e72b --- /dev/null +++ b/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"; |