brintos

brintos / llvm-project-archived public Read only

0
0
Text · 272 B · d390399 Raw
9 lines · plain
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s2; Test the case of an invalid pointee type on a constant GEP3 4; CHECK: invalid base element for constant getelementptr5 6define ptr @test_scalable_vector_gep(ptr %a) {7  ret ptr getelementptr (<vscale x 1 x i8>, ptr @a, i64 1)8}9