llvm-for-llvmta/tools/clang/test/CodeGenObjCXX/implementation-in-extern-c.mm

18 lines
265 B
Plaintext
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
// rdar://12581683
extern "C" {
@interface RetainBucket
+ (id) sharedRetainBucket;
@end
@implementation RetainBucket
+ (id) sharedRetainBucket
{
static id sharedBucket = (id)0;
return sharedBucket;
}
@end
}