2007-01-17 10:45:19 +08:00
|
|
|
; PR1117
|
2007-04-15 18:07:55 +08:00
|
|
|
; RUN: llvm-as < %s -o /dev/null -f |& grep "invalid cast opcode for cast from"
|
2007-01-17 10:45:19 +08:00
|
|
|
|
2007-01-26 16:25:06 +08:00
|
|
|
define i8* @nada(i64 %X) {
|
2007-01-17 10:45:19 +08:00
|
|
|
%result = trunc i64 %X to i8*
|
|
|
|
ret i8* %result
|
|
|
|
}
|