aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Verifier/scalable-vector-struct-alloca.ll
blob: e1067c8f112838f425f81987013d4f719643c40d (plain)
1
2
3
4
5
6
7
; RUN: not opt -S -passes=verify < %s 2>&1 | FileCheck %s

define void @alloca() {
; CHECK: error: Cannot allocate unsized type
  %a = alloca { i32, <vscale x 1 x i32> }
  ret void
}