blob: 24216f9869d27ae20dfdfa5eb7dc00ae4a2adbe5 [file] [log] [blame]
Nick Lewycky98a92032011-10-27 07:11:43 +00001// RUN: %clang_cc1 -emit-llvm -std=c++11 -g %s -o -| FileCheck %s
Devang Patel74a292f2011-09-12 18:11:52 +00002
3// 16 is DW_ATE_UTF (0x10) encoding attribute.
Devang Patele8ee3f22011-09-12 17:11:58 +00004char16_t char_a = u'h';
5
Devang Patelc08c88c2012-02-03 23:58:39 +00006// CHECK: !7 = metadata !{i32 {{.*}}, null, metadata !"char16_t", null, i32 0, i64 16, i64 16, i64 0, i32 0, i32 16} ; [ DW_TAG_base_type ]