Sign in
llvm
/
llvm-project
/
refs/heads/main
/
.
/
llvm
/
test
/
Assembler
/
2007-01-16-CrashOnBadCast2.ll
blob: 8faefe67035ef4251d8eb11688cfbbc471505949 [
file
] [
log
] [
blame
]
; PR1117
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
; CHECK: error: invalid cast opcode for cast from 'i64' to 'ptr'
@X
=
constant
ptr
trunc
(
i64
0
to
ptr
)