8 lines · plain
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s2 3define target("dx.RawBuffer", half, 1, 0) @f() {4entry:5 ret target("dx.RawBuffer", half, 1, 0) poison6}7; CHECK: Function returns a token but isn't an intrinsic8 1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s2 3define target("dx.RawBuffer", half, 1, 0) @f() {4entry:5 ret target("dx.RawBuffer", half, 1, 0) poison6}7; CHECK: Function returns a token but isn't an intrinsic8