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
b66229464e
llvm-project
/
llvm
/
test
/
Feature
/
globalredefinition3.ll
5 lines
110 B
LLVM
Raw
Normal View
History
Unescape
Escape
Remove obsolete -f flags. llvm-svn: 79992
2009-08-25 23:38:29 +08:00
; RUN: not llvm-as %s -o /dev/null |& grep {redefinition of global '@B'}
For PR1077: Split this test case into three cases. globalredefinition.ll just tests that a global can be forward referenced. globalredefinition2.ll tests that llvm-upgrade will warn about renaming duplicate global variables. globalredefinition3.ll tests that llvm-as will generate an error on duplicate global variables. This last test is currently XFAIL because the restriction is not implemented yet. llvm-svn: 32910
2007-01-06 01:25:12 +08:00
For PR761: Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. llvm-svn: 33533
2007-01-26 16:25:06 +08:00
@B
=
global
i32
7
@B
=
global
i32
7