xref: /llvm-project/llvm/test/Verifier/scalable-vector-struct-alloca.ll (revision 926497673e4668880bd78adc9775db2909eaacec)
1; RUN: not opt -S -passes=verify < %s 2>&1 | FileCheck %s
2
3define void @alloca() {
4; CHECK: error: Cannot allocate unsized type
5  %a = alloca { i32, <vscale x 1 x i32> }
6  ret void
7}
8