Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Verifier
/
unsized-types-load.ll
blob: fed6540f2c8cbde7534d01589dfc006542ff36c1 [
file
] [
log
] [
blame
]
; RUN: not opt -passes=verify < %s 2>&1 | FileCheck %s
%X
=
type
opaque
define
void
@f_0
(
ptr
%ptr
)
{
%t
=
load
%X
,
ptr
%ptr
ret
void
; CHECK: loading unsized types is not allowed
; CHECK-NEXT: %t = load %X, ptr %ptr
}