llvm-project/llvm/test/Assembler/2007-01-16-CrashOnBadCast2.ll

5 lines
128 B
LLVM

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