diff options
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Misc/ast-print-char-literal.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Misc/ast-print-char-literal.cpp b/clang/test/Misc/ast-print-char-literal.cpp index bb5daa2444d..614b3ca9d73 100644 --- a/clang/test/Misc/ast-print-char-literal.cpp +++ b/clang/test/Misc/ast-print-char-literal.cpp @@ -13,6 +13,8 @@ void i() { h<u8'2'>(); } +char j = '\xFF'; + // CHECK: char c = u8'1'; // CHECK-NEXT: char d = '1'; // CHECK-NEXT: char e = U'1'; @@ -22,3 +24,4 @@ void i() { // CHECK: template <char c = u8'1'> // CHECK: h<u8'2'>(); +// CHECK: char j = '\xff'; |