aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Verifier/tokenlike6.ll
blob: f24a9427eb8cba214784c89c5b3fa482da297e5a (plain)
1
2
3
4
5
6
7
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s

define target("dx.RawBuffer", half, 1, 0) @f() {
entry:
  ret target("dx.RawBuffer", half, 1, 0) poison
}
; CHECK: Function returns a token but isn't an intrinsic