mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 01:26:05 +00:00

Some tests are removed because the error conditions can no longer occur with opaque pointers.
8 lines
176 B
LLVM
8 lines
176 B
LLVM
; PR1117
|
|
; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "invalid cast opcode for cast from"
|
|
|
|
define ptr @nada(i64 %X) {
|
|
%result = trunc i64 %X to ptr
|
|
ret ptr %result
|
|
}
|