Sign in
swiftshader
/
SwiftShader.git
/
24f3d30cdec3c7473762405bde1c85b7c26f7941
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
Assembler
/
invalid-gep-mismatched-explicit-type.ll
blob: 1fc88dd43cb30515ff72b8a2701556bda05acb2e [
file
] [
log
] [
blame
]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: <stdin>:4:22: error: explicit pointee type doesn't match operand's pointee type
define
void
@test
(
i32
*
%t
)
{
%x
=
getelementptr
i16
,
i32
*
%t
,
i32
0
ret
void
}