10 lines · plain
1; RUN: not opt -S -passes=verify < %s 2>&1 | FileCheck %s2 3%struct.test = type { <vscale x 1 x double>, <vscale x 1 x double> }4 5define void @gep(ptr %a) {6; CHECK: error: getelementptr cannot target structure that contains scalable vector type7 %a.addr = getelementptr %struct.test, ptr %a, i32 08 ret void9}10