blob: c442669e6422f74395fb671df93369ef1c1cc624 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc < %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