Sign in
llvm
/
llvm-project
/
c01c62c76c60a5a5da0496e41faae907944c92dd
/
.
/
llvm
/
test
/
Assembler
/
invalid-load-mismatched-explicit-type.ll
blob: f199bea6c333ffcc414fd53590782e4d64e62ce3 [
file
] [
log
] [
blame
]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: <stdin>:4:13: error: explicit pointee type doesn't match operand's pointee type (i16 vs i32)
define
void
@test
(
i32
*
%t
)
{
%x
=
load
i16
,
i32
*
%t
ret
void
}