blob: b5c7e90d792b9a5a50f4fe01db5aa64830982e82 [file] [log] [blame]
Graham Hunter957c40d2019-07-05 12:48:16 +00001; RUN: not opt -S -verify < %s 2>&1 | FileCheck %s
2
3;; Arrays cannot contain scalable vectors; make sure we detect them even
4;; when nested inside other aggregates.
5
6%ty = type { i64, [4 x <vscale x 256 x i1>] }
7; CHECK: error: invalid array element type
8; CHECK: %ty = type { i64, [4 x <vscale x 256 x i1>] }