diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-22 22:08:50 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-22 22:08:50 +0000 |
commit | 33e022650adee965c65f9aea086ee74f3fd1bad5 (patch) | |
tree | 3493a7c5bb5f6e2cb564000278fc3b5ed186844d /clang/test/CodeGen/attr-weak-import.c | |
parent | a60a269e671989b27d46f08a0404ab33109ee22e (diff) | |
download | bcm5719-llvm-33e022650adee965c65f9aea086ee74f3fd1bad5.tar.gz bcm5719-llvm-33e022650adee965c65f9aea086ee74f3fd1bad5.zip |
Issue warning if weak_import attribute is added to an already
declared variable and ignore it. // rdar://9538608
llvm-svn: 133654
Diffstat (limited to 'clang/test/CodeGen/attr-weak-import.c')
-rw-r--r-- | clang/test/CodeGen/attr-weak-import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/attr-weak-import.c b/clang/test/CodeGen/attr-weak-import.c index f02d09e8150..0707f59a608 100644 --- a/clang/test/CodeGen/attr-weak-import.c +++ b/clang/test/CodeGen/attr-weak-import.c @@ -20,7 +20,7 @@ extern int E __attribute__((weak_import)); // CHECK: @A = global i32 // CHECK-NOT: @B = -// CHECK: @C = global i32 +// CHECK: @C = common global i32 // CHECK: @D = global i32 // CHECK: @E = global i32 |