; RUN: not opt -S -passes=verify < %s 2>&1 | FileCheck %s %struct.test = type { , } define void @gep(ptr %a) { ; CHECK: error: getelementptr cannot target structure that contains scalable vector type %a.addr = getelementptr %struct.test, ptr %a, i32 0 ret void }