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] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGenObjCXX
/
method-local-extern-mangle.mm
blob
794075da1adbc9977fe5971fe3fddb2ba36215d8
1
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
2
3
// CHECK: @gGlobals = external global
4
5
@interface I
6
- (int) Meth;
7
@end
8
9
@implementation I
10
- (int) Meth {
11
extern int gGlobals;
12
return gGlobals;
13
}
14
@end