llvm-project/clang/test/CodeGenCXX/debug-info-char16.cpp
Devang Patel ecaf9ac0bb Emit debug info for c++0x nullptr.
llvm-svn: 139752
2011-09-14 23:14:14 +00:00

10 lines
220 B
C++

// RUN: %clang_cc1 -S -std=c++0x -masm-verbose -g %s -o -| FileCheck %s
//CHECK: .ascii "char16_t"
//CHECK-NEXT: .byte 0
//CHECK-NEXT: .byte 16
// 16 is DW_ATE_UTF (0x10) encoding attribute.
char16_t char_a = u'h';