Fix the clang-wpa example.
[clang.git] / test / CodeGen / merge-statics.c
blob6716935c4d12222ec4c1bad8a3ae66c443c2eb34
1 // RUN: %clang_cc1 < %s -emit-llvm | grep internal | count 1
3 // The two decls for 'a' should merge into one llvm GlobalVariable.
5 struct s { int x; };
6 static struct s a;
8 struct s *ap1 = &a;
10 static struct s a = {