1 ; RUN: not opt -S -passes=verify < %s 2>&1 | FileCheck %s
3 define void @store(ptr %x, i32 %y, <vscale x 1 x i32> %z) {
4 ; CHECK: error: storing unsized types is not allowed
5 %a = insertvalue { i32, <vscale x 1 x i32> } undef, i32 %y, 0
6 %b = insertvalue { i32, <vscale x 1 x i32> } %a, <vscale x 1 x i32> %z, 1
7 store { i32, <vscale x 1 x i32> } %b, ptr %x