summaryrefslogtreecommitdiff
path: root/test/CodeGen/attr-weak-import.c
Commit message (Collapse)AuthorAge
* Issue warning if weak_import attribute is added to an alreadyFariborz Jahanian2011-06-22
| | | | | | | declared variable and ignore it. // rdar://9538608 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133654 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-gcc treats a tentative definition with a previousFariborz Jahanian2011-06-20
(or follow up) extern declaration with weak_import as an actual definition. make clang follows this behavior. // rdar://9538608 llvm-gcc treats an extern declaration with weak_import git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133450 91177308-0d34-0410-b5e6-96231b3b80d8