Nick Lewycky | 98a9203 | 2011-10-27 07:11:43 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -std=c++11 -g %s -o -| FileCheck %s |
Devang Patel | 74a292f | 2011-09-12 18:11:52 +0000 | [diff] [blame] | 2 | |
3 | // 16 is DW_ATE_UTF (0x10) encoding attribute. | ||||
Devang Patel | e8ee3f2 | 2011-09-12 17:11:58 +0000 | [diff] [blame] | 4 | char16_t char_a = u'h'; |
5 | |||||
Devang Patel | c08c88c | 2012-02-03 23:58:39 +0000 | [diff] [blame] | 6 | // 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 ] |