blob: 6716935c4d12222ec4c1bad8a3ae66c443c2eb34 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 < %s -emit-llvm | grep internal | count 1
Chris Lattner3ea740e2008-02-02 04:45:42 +00002
3// The two decls for 'a' should merge into one llvm GlobalVariable.
4
5struct s { int x; };
6static struct s a;
7
8struct s *ap1 = &a;
9
10static struct s a = {
11 10
12};
13