summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/debug-info-char16.cpp
blob: 83ffea6f791a4f05b1382c26cfb7371b0cf61000 (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -std=c++11 -debug-info-kind=limited %s -o -| FileCheck %s

// 16 is DW_ATE_UTF (0x10) encoding attribute.
char16_t char_a = u'h';

// CHECK: !{{.*}} = !DIBasicType(name: "char16_t"
// CHECK-SAME:                   encoding: DW_ATE_UTF)