commit | d543130a3009a350017e2e411ea43bb3e5459b96 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Wed Jun 22 22:08:50 2011 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Wed Jun 22 22:08:50 2011 +0000 |
tree | 632095b488d8a87ad902b34f90c95f8cc9936210 | |
parent | 9c7f469318c42c9813be9ac165aaa183d2de7d72 [diff] [blame] |
Issue warning if weak_import attribute is added to an already declared variable and ignore it. // rdar://9538608 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133654 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/attr-weak-import.c b/test/CodeGen/attr-weak-import.c index f02d09e..0707f59 100644 --- a/test/CodeGen/attr-weak-import.c +++ b/test/CodeGen/attr-weak-import.c
@@ -20,7 +20,7 @@ // CHECK: @A = global i32 // CHECK-NOT: @B = -// CHECK: @C = global i32 +// CHECK: @C = common global i32 // CHECK: @D = global i32 // CHECK: @E = global i32