repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGenObjCXX
/
implementation-in-extern-c.mm
blob
dd633d14fade19a82a162deba0b61e133af63580
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
extern "C" {
4
@interface RetainBucket
5
+ (id) sharedRetainBucket;
6
@end
7
8
@implementation RetainBucket
9
+ (id) sharedRetainBucket
10
{
11
static id sharedBucket = (id)0;
12
return sharedBucket;
13
}
14
@end
15
}
16