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