Pointer arithmetic should be done with the index the same size as the pointer.
[oota-llvm.git] / test / CodeGen / X86 / weak.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
2 %a = extern_weak global int
3 %b = global int* %a