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

define void @f() {
entry:
  call target("dx.RawBuffer", half, 1, 0) () poison ()
  ret void
}
; CHECK: Return type cannot be token for indirect call!