aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Verifier/target-ext-vector-invalid.ll
blob: 59e3e78276a062a906fd2579563a7b5e73ed9d6d (plain)
1
2
3
4
5
6
7
8
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s

; CHECK: invalid vector element type

define void @bad() {
  %v = alloca <2 x target("spirv.Image")>
  ret void
}