diff options
author | Craig Topper <craig.topper@gmail.com> | 2011-08-12 03:20:18 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2011-08-12 03:20:18 +0000 |
commit | 235830be84ad18c447fd477efe9b0675c203c12f (patch) | |
tree | 9eed0ff05133c37d220d77564f9819c8b24fa6d9 /test/Lexer | |
parent | 7b0a0383ef5ba23cbf2968f7cb314be0b80847e8 (diff) |
Fix a couple raw string literal tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer')
-rw-r--r-- | test/Lexer/cxx0x_raw_string_delim_length.cpp | 3 | ||||
-rw-r--r-- | test/Lexer/cxx0x_raw_string_unterminated.cpp | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/test/Lexer/cxx0x_raw_string_delim_length.cpp b/test/Lexer/cxx0x_raw_string_delim_length.cpp index c7b32f8698..f6ceaa0a25 100644 --- a/test/Lexer/cxx0x_raw_string_delim_length.cpp +++ b/test/Lexer/cxx0x_raw_string_delim_length.cpp @@ -1,6 +1,3 @@ // RUN: %clang_cc1 -std=c++0x -E %s 2>&1 | grep 'error: raw string delimiter longer than 16 characters' const char *str = R"abcdefghijkmnopqrstuvwxyz(abcdef)abcdefghijkmnopqrstuvwxyz"; -// RUN: %clang_cc1 -std=c++0x -E %s 2>&1 | grep 'error: raw string delimiter longer than 16 characters' - -const char *str = R"abcdefghijkmnopqrstuvwxyz(abcdef)abcdefghijkmnopqrstuvwxyz"; diff --git a/test/Lexer/cxx0x_raw_string_unterminated.cpp b/test/Lexer/cxx0x_raw_string_unterminated.cpp index 7813c999f0..d8354d928c 100644 --- a/test/Lexer/cxx0x_raw_string_unterminated.cpp +++ b/test/Lexer/cxx0x_raw_string_unterminated.cpp @@ -2,7 +2,3 @@ const char *str = R"foo(abc def)bar"; -// RUN: %clang_cc1 -std=c++0x -E %s 2>&1 | grep 'error: raw string missing terminating delimiter )foo"' - -const char *str = R"foo(abc -def)bar"; |