llvm/test/Feature/globalredefinition.ll
Chris Lattner f05591d359 New, horrible, testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14829 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-14 22:59:47 +00:00

19 lines
220 B
LLVM

; Test forward references and redefinitions of globals
%Y = global void()* %X
%A = global int* %B
%B = global int 7
%B = global int 7
declare void %X()
declare void %X()
void %X() {
ret void
}
declare void %X()