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
15