blob: 20c9383b075497a6aff8f90d18a7177a87336866 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; PR1117
2; RUN: llvm-as < %s -o /dev/null -f |& grep {invalid cast opcode for cast from}
3
4define i8* @nada(i64 %X) {
5 %result = trunc i64 %X to i8*
6 ret i8* %result
7}