blob: 1f0977f0398acb22ad3d421d6f6a2b8604c58d96 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -emit-llvm %s -o %t
Anders Carlssonf06273f2007-11-19 00:25:30 +00002#define CFSTR __builtin___CFStringMakeConstantString
3
4void f() {
5 CFSTR("Hello, World!");
Daniel Dunbar2d6ca8d2008-08-21 02:51:29 +00006}
Chris Lattner506ff882008-10-06 07:26:43 +00007
8// rdar://6248329
9void *G = CFSTR("yo joe");
10
Eli Friedman3941b182009-01-25 01:54:01 +000011void h() {
12 static void* h = CFSTR("Goodbye, World!");
13}