bolt/deps/llvm-18.1.8/llvm/test/Verifier/scalable-vector-struct-alloca.ll
2025-02-14 19:21:04 +01:00

7 lines
183 B
LLVM

; 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
}