1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2// rdar://12581683
3
4extern "C" {
5@interface RetainBucket
6+ (id) sharedRetainBucket;
7@end
8
9@implementation RetainBucket
10+ (id) sharedRetainBucket
11{
12    static id sharedBucket = (id)0;
13    return sharedBucket;
14}
15@end
16}
17
18