llvm-6502/test/CodeGen/X86/store-global-address.ll
2006-02-25 10:16:10 +00:00

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
}