From 634a43c272a918f47cfc7dd07c7bd9481772f12e Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 12 Aug 2011 04:09:37 +0000 Subject: [PATCH] Fix a raw string literal test case to actually use a raw string literal. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137427 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/SemaCXX/cxx0x-type-convert-construct.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/SemaCXX/cxx0x-type-convert-construct.cpp b/test/SemaCXX/cxx0x-type-convert-construct.cpp index f32c8e2014..adf1f621ea 100644 --- a/test/SemaCXX/cxx0x-type-convert-construct.cpp +++ b/test/SemaCXX/cxx0x-type-convert-construct.cpp @@ -9,7 +9,7 @@ void f() { Ustr = U"a UTF-32 string"; // expected-error {{assigning to 'char32_t *' from incompatible type 'const char32_t [16]'}} char *Rstr; - Rstr = "a raw string"; // expected-warning{{conversion from string literal to 'char *' is deprecated}} + Rstr = R"foo(a raw string)foo"; // expected-warning{{conversion from string literal to 'char *' is deprecated}} wchar_t *LRstr; LRstr = LR"foo(a wide raw string)foo"; // expected-warning{{conversion from string literal to 'wchar_t *' is deprecated}} char *u8Rstr; -- 2.50.1