This website requires JavaScript.
Explore
Help
Sign In
replica
/
hanchenye-llvm-project
Watch
2
Star
0
Fork
You've already forked hanchenye-llvm-project
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
441f24118a
hanchenye-llvm-project
/
clang
/
test
/
CodeGen
/
weak-global.c
4 lines
52 B
C
Raw
Normal View
History
Unescape
Escape
Tentative declarations are supposed to have common linkage, not weak. This change makes clang generate the same thing as llvm-gcc. llvm-svn: 51674
2008-05-29 19:03:17 +08:00
// RUN: clang -emit-llvm < %s | grep common
A global without initializer must be emitted as weak. Fix Olden/bh test. llvm-svn: 47292
2008-02-19 08:04:15 +08:00
int
i
;