commit | a7f46335004802b8c7dd2972ace8afa3e8c63770 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Thu May 29 11:03:17 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Thu May 29 11:03:17 2008 +0000 |
tree | 300543e3a99b956a5071eacd2dba94182768c38c | |
parent | 4c8b0acaaa28a1e3695b19dd36f35273f266b0b2 [diff] [blame] |
Tentative declarations are supposed to have common linkage, not weak. This change makes clang generate the same thing as llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51674 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/weak-global.c b/test/CodeGen/weak-global.c index 86e551c..d19dd61 100644 --- a/test/CodeGen/weak-global.c +++ b/test/CodeGen/weak-global.c
@@ -1,3 +1,3 @@ -// RUN: clang -emit-llvm < %s | grep weak +// RUN: clang -emit-llvm < %s | grep common int i;