mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
19 lines
220 B
LLVM
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()
|