1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fno-constant-cfstrings -fconstant-string-class OFConstantString -emit-llvm -o %t %s 2*f4a2713aSLionel Sambuc// pr9914 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc@interface OFConstantString 5*f4a2713aSLionel Sambuc+ class; 6*f4a2713aSLionel Sambuc@end 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc@interface OFString 9*f4a2713aSLionel Sambuc- (void)XMLElementBySerializing; 10*f4a2713aSLionel Sambuc@end 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc@implementation OFString 13*f4a2713aSLionel Sambuc 14*f4a2713aSLionel Sambuc- (void)XMLElementBySerializing 15*f4a2713aSLionel Sambuc{ 16*f4a2713aSLionel Sambuc id str = @"object"; 17*f4a2713aSLionel Sambuc 18*f4a2713aSLionel Sambuc [OFConstantString class]; 19*f4a2713aSLionel Sambuc} 20*f4a2713aSLionel Sambuc 21*f4a2713aSLionel Sambuc@end 22*f4a2713aSLionel Sambuc 23*f4a2713aSLionel Sambuc// CHECK: @"OBJC_CLASS_$_OFConstantString" = external global 24