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

6 lines
139 B
LLVM
Raw Normal View History

; PR1117
; RUN: llvm-as < %s 2>&1 > /dev/null | \
; RUN: grep "invalid cast opcode for cast from"
%X = constant i8* trunc (i64 0 to i8*)