This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
4aacad1f93
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
;