mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 23:55:03 +00:00
10 lines
168 B
LLVM
10 lines
168 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86 | grep movl | wc -l | grep 1
|
||
|
|
||
|
%dst = global int 0
|
||
|
%ptr = global int* null
|
||
|
|
||
|
void %test() {
|
||
|
store int* %dst, int** %ptr
|
||
|
ret void
|
||
|
}
|