summaryrefslogtreecommitdiffstats
path: root/test/Lexer
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2011-08-12 03:20:18 +0000
committerCraig Topper <craig.topper@gmail.com>2011-08-12 03:20:18 +0000
commit235830be84ad18c447fd477efe9b0675c203c12f (patch)
tree9eed0ff05133c37d220d77564f9819c8b24fa6d9 /test/Lexer
parent7b0a0383ef5ba23cbf2968f7cb314be0b80847e8 (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.cpp3
-rw-r--r--test/Lexer/cxx0x_raw_string_unterminated.cpp4
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";