llvm-6502/test/Transforms/GlobalOpt/basictest.llx
2006-12-02 04:23:10 +00:00

10 lines
157 B
Plaintext

; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt | llvm-dis | not grep global
%X = internal global int 4
int %foo() {
%V = load int* %X
ret int %V
}