summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/weak-global.c
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-05-29 11:03:17 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-05-29 11:03:17 +0000
commitd72a9624a1009d3a0ca0a50a318c26193cc444cc (patch)
tree0cfb4079b650f11029048c1c43782ddff423a4da /clang/test/CodeGen/weak-global.c
parent5a6d0ede91bddf21b494382d6d975d6fb2db80a9 (diff)
downloadbcm5719-llvm-d72a9624a1009d3a0ca0a50a318c26193cc444cc.tar.gz
bcm5719-llvm-d72a9624a1009d3a0ca0a50a318c26193cc444cc.zip
Tentative declarations are supposed to have common linkage, not weak.
This change makes clang generate the same thing as llvm-gcc. llvm-svn: 51674
Diffstat (limited to 'clang/test/CodeGen/weak-global.c')
-rw-r--r--clang/test/CodeGen/weak-global.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/weak-global.c b/clang/test/CodeGen/weak-global.c
index 86e551c1ead..d19dd612917 100644
--- a/clang/test/CodeGen/weak-global.c
+++ b/clang/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;
OpenPOWER on IntegriCloud