new testcase
[oota-llvm.git] / test / Transforms / InstCombine / IntPtrCast.ll
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep cast
2 target pointersize = 32
3
4 int *%test(int *%P) {
5         %V = cast int* %P to int
6         %P2 = cast int %V to int*
7         ret int* %P2
8 }