xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/utf16-cfstrings.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
2*f4a2713aSLionel Sambuc // <rdar://problem/10655949>
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc // CHECK: @.str = internal unnamed_addr constant [9 x i16] [i16 252, i16 98, i16 101, i16 114, i16 104, i16 117, i16 110, i16 100, i16 0], align 2
5*f4a2713aSLionel Sambuc 
6*f4a2713aSLionel Sambuc #define CFSTR __builtin___CFStringMakeConstantString
7*f4a2713aSLionel Sambuc 
8*f4a2713aSLionel Sambuc void foo() {
9*f4a2713aSLionel Sambuc   CFSTR("überhund");
10*f4a2713aSLionel Sambuc }
11