xref: /llvm-project/llvm/test/Assembler/2007-01-16-CrashOnBadCast2.ll (revision 75a479221b72c8b4827470485949cebf67d1c967)
1; PR1117
2; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "invalid cast opcode for cast from"
3
4@X = constant ptr trunc (i64 0 to ptr)
5