[cfe-commits] r137422 - in /cfe/trunk/test/Lexer: cxx0x_raw_string_delim_length.cpp cxx0x_raw_string_unterminated.cpp
Craig Topper
craig.topper at gmail.com
Thu Aug 11 20:20:18 PDT 2011
Author: ctopper
Date: Thu Aug 11 22:20:18 2011
New Revision: 137422
URL: http://llvm.org/viewvc/llvm-project?rev=137422&view=rev
Log:
Fix a couple raw string literal tests
Modified:
cfe/trunk/test/Lexer/cxx0x_raw_string_delim_length.cpp
cfe/trunk/test/Lexer/cxx0x_raw_string_unterminated.cpp
Modified: cfe/trunk/test/Lexer/cxx0x_raw_string_delim_length.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/cxx0x_raw_string_delim_length.cpp?rev=137422&r1=137421&r2=137422&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/cxx0x_raw_string_delim_length.cpp (original)
+++ cfe/trunk/test/Lexer/cxx0x_raw_string_delim_length.cpp Thu Aug 11 22:20:18 2011
@@ -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";
Modified: cfe/trunk/test/Lexer/cxx0x_raw_string_unterminated.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/cxx0x_raw_string_unterminated.cpp?rev=137422&r1=137421&r2=137422&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/cxx0x_raw_string_unterminated.cpp (original)
+++ cfe/trunk/test/Lexer/cxx0x_raw_string_unterminated.cpp Thu Aug 11 22:20:18 2011
@@ -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";
More information about the cfe-commits
mailing list