// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s
;
// CHECK: @x1 = {{(dso_local )?}}global %struct.X zeroinitializer
// CHECK: @x4 = {{(dso_local )?}}global %struct.X zeroinitializer
// CHECK: @x2 = external {{(dso_local )?}}global %struct.X
// CHECK: @x3 = external {{(dso_local )?}}global %struct.X
extern "C"
extern "C" X x2;
extern X x3;
X x4;
X&