9 lines · plain
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s2 3define void @f() {4entry:5 call target("dx.RawBuffer", half, 1, 0) () poison ()6 ret void7}8; CHECK: Return type cannot be token for indirect call!9 1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s2 3define void @f() {4entry:5 call target("dx.RawBuffer", half, 1, 0) () poison ()6 ret void7}8; CHECK: Return type cannot be token for indirect call!9