blob: 7ff71c86b7db783ff57a36be6652f9171ec0e501 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | notcast
2target endian = little
3target pointersize = 32
4
5int *%test(int *%P) {
6 %V = cast int* %P to int
7 %P2 = cast int %V to int*
8 ret int* %P2
9}