1; PR1117 2; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "invalid cast opcode for cast from" 3 4define ptr @nada(i64 %X) { 5 %result = trunc i64 %X to ptr 6 ret ptr %result 7} 8