mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
b7a7566165
Cast validity depends on the cast's kind, not just its types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229366 91177308-0d34-0410-b5e6-96231b3b80d8
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)
|