llvm-capstone/clang/test/CodeGenObjCXX/method-local-extern-mangle.mm
Fariborz Jahanian 0f19afb9d4 extern variable declared locally to objective-c++ method
should not be mangled either. Fixes radar 8016412.

llvm-svn: 107303
2010-06-30 18:27:47 +00:00

15 lines
242 B
Plaintext

// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
// CHECK: @gGlobals = external global
@interface I
- (int) Meth;
@end
@implementation I
- (int) Meth {
extern int gGlobals;
return gGlobals;
}
@end