bolt/deps/llvm-18.1.8/llvm/test/Assembler/2007-01-16-CrashOnBadCast2.ll

5 lines
132 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; PR1117
; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "invalid cast opcode for cast from"
@X = constant ptr trunc (i64 0 to ptr)