aa95320ac1f75184ab400e0e9fbbe435de24cce4
[oota-llvm.git] / test / Transforms / InstCombine / 2004-07-27-ConstantExprMul.ll
1 ; RUN: llvm-as < %s | opt -instcombine -disable-output
2
3 %p = weak global int 0
4
5 int %test(int %x) {
6         %y = mul int %x, cast (int* %p to int)
7         ret int %y
8 }