diff options
author | Reid Kleckner <rnk@google.com> | 2019-10-10 18:36:41 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-10-10 18:36:41 +0000 |
commit | 5b3291e3a9f77eae5fa220061a6273d7f2f20813 (patch) | |
tree | 411b5a3cca006485062acd29f60693edb6132472 /test/CodeGen/string-literal.c | |
parent | a2a3b137f8656b07a18fc58778552c803b746a91 (diff) | |
download | clang-5b3291e3a9f77eae5fa220061a6273d7f2f20813.tar.gz |
Update clang tests for new LLVM IR backslash printing in r374415
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374416 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/string-literal.c')
-rw-r--r-- | test/CodeGen/string-literal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/string-literal.c b/test/CodeGen/string-literal.c index c460187436..6634872821 100644 --- a/test/CodeGen/string-literal.c +++ b/test/CodeGen/string-literal.c @@ -85,7 +85,7 @@ int main() { // CHECK-CXX11: private unnamed_addr constant [3 x i32] [i32 75, i32 76, i32 0], align 4 const wchar_t *l = LR"bar(KL)bar"; - // CHECK-CXX11: private unnamed_addr constant [9 x i8] c"abc\5Cndef\00", align 1 + // CHECK-CXX11: private unnamed_addr constant [9 x i8] c"abc\\ndef\00", align 1 const char *m = R"(abc\ndef)"; // CHECK-CXX11: private unnamed_addr constant [8 x i8] c"abc\0Adef\00", align 1 @@ -96,13 +96,13 @@ def)"; const char *q = R"(abc def)" "ghi"; - // CHECK-CXX11: private unnamed_addr constant [13 x i8] c"abc\5C\0A??=\0Adef\00", align 1 + // CHECK-CXX11: private unnamed_addr constant [13 x i8] c"abc\\\0A??=\0Adef\00", align 1 const char *r = R\ "(abc\ ??= def)"; - // CHECK-CXX11: private unnamed_addr constant [13 x i8] c"def\5C\0A??=\0Aabc\00", align 1 + // CHECK-CXX11: private unnamed_addr constant [13 x i8] c"def\\\0A??=\0Aabc\00", align 1 const char *s = u8R\ "(def\ ??= |