// RUN: %clang_cc1 -emit-llvm -triple i386-linux-gnu -o %t %s
// RUN: FileCheck --input-file=%t %s
// CHECK: @test1_f = extern_weak global i32
extern int test1_f;
static int test1_g ;
int
// CHECK: @test2_f = global i32 0, align 4
int test2_f;
static int test2_g ;
int
// CHECK: @test3_f = external global i32
extern int test3_f;
static int test3_g ;
int
int
// CHECK: @test4_f = global i32 0, align 4
extern int test4_f;
static int test4_g ;
int
int test4_f;
// CHECK: @test5_f = external global i32
extern int test5_f;
static int test5_g ;
int
int
// CHECK: @test6_f = extern_weak global i32
extern int test6_f ;
static int test6_g ;
int
int