1 ; RUN: not opt -S -verify < %s 2>&1 | FileCheck %s
3 ;; Structs cannot contain scalable vectors; make sure we detect them even
4 ;; when nested inside other aggregates.
6 %ty = type [2 x { i32, <vscale x 1 x i32> }]
7 ; CHECK: error: invalid element type for struct
8 ; CHECK: %ty = type [2 x { i32, <vscale x 1 x i32> }]