Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Verifier
/
unsized-types-alloca.ll
blob: 027417f2eae5cd0abb5eb97c691b119b64f0da11 [
file
] [
log
] [
blame
]
; RUN: not opt -passes=verify < %s 2>&1 | FileCheck %s
%X
=
type
opaque
define
void
@f_2
()
{
%t
=
alloca
%X
ret
void
; CHECK: Cannot allocate unsized type
; CHECK-NEXT: %t = alloca %X
}