summaryrefslogtreecommitdiff
path: root/llvm/test/Verifier/scalable-vector-struct-alloca.ll
blob: ebd16965b85cae73cd14c5bf8500ac356efbc04b (plain)
1
2
3
4
5
6
7
; RUN: not opt -S -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
}