mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-09 04:24:10 +00:00
64cd3dbda5
Cast validity depends on the cast's kind, not just its types. llvm-svn: 229366
5 lines
139 B
LLVM
5 lines
139 B
LLVM
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: invalid cast opcode for cast from 'i64' to 'i64'
|
|
global i64* inttoptr (i64 0 to i64)
|