Skip to content
Snippets Groups Projects
Commit 48e0c338 authored by Reid Spencer's avatar Reid Spencer
Browse files

Test cases for PR1117.

llvm-svn: 33281
parent a8a15473
No related branches found
No related tags found
No related merge requests found
; PR1117
; RUN: llvm-as < %s 2>&1 > /dev/null | \
; RUN: grep "invalid cast opcode for cast from"
define i8* %nada(i64 %X) {
%result = trunc i64 %X to i8*
ret i8* %result
}
; 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*)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment