llvm-project/clang/test/CodeGenCXX/debug-info-char16.cpp
Richard Smith 9ca5c42582 Update all tests other than Driver/std.cpp to use -std=c++11 rather than
-std=c++0x. Patch by Ahmed Charles!

llvm-svn: 141900
2011-10-13 22:29:44 +00:00

10 lines
220 B
C++

// RUN: %clang_cc1 -S -std=c++11 -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';