aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGenCXX/debug-info-char16.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGenCXX/debug-info-char16.cpp b/test/CodeGenCXX/debug-info-char16.cpp
index c2eaff905c..d5bb43291c 100644
--- a/test/CodeGenCXX/debug-info-char16.cpp
+++ b/test/CodeGenCXX/debug-info-char16.cpp
@@ -1,5 +1,8 @@
// RUN: %clang_cc1 -S -std=c++0x -masm-verbose -g %s -o -| FileCheck %s
-//CHECK: .byte 16 ## DW_AT_encoding
+//CHECK: .byte 16
+//CHECK-NEXT: .ascii "char16_t"
+
+// 16 is DW_ATE_UTF (0x10) encoding attribute.
char16_t char_a = u'h';