1 ; PR1117 2 ; RUN: not llvm-as %s -o /dev/null |& grep {invalid cast opcode for cast from} 3 4 @X = constant i8* trunc (i64 0 to i8*) 5