blob: 1e0d6891221289b1ab592ff46ea7a1e82c4bcc0f [file] [log] [blame]
Chris Lattnere66b65c2008-02-06 01:42:25 +00001// RUN: clang < %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