blob: 56fd7d4bb6a933e7ff53d8f5c50719bfd5ce7a8e [file] [log] [blame]
Chris Lattnerc07aeea2008-02-02 04:45:42 +00001// RUN: clang %s -emit-llvm | grep internal | count 1
2
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