blob: aa95320ac1f75184ab400e0e9fbbe435de24cce4 [file] [log] [blame]
Robert Bocchino22fddc72004-07-27 20:50:02 +00001; RUN: llvm-as < %s | opt -instcombine -disable-output
2
3%p = weak global int 0
4
5int %test(int %x) {
6 %y = mul int %x, cast (int* %p to int)
7 ret int %y
8}