llvm-project/clang/test/CodeGenOpenCL/amdgpu-features-readonly.cl
2025-07-29 08:18:00 -07:00

7 lines
278 B
Common Lisp

// RUN: %clang_cc1 -triple amdgcn -target-cpu gfx942 -target-feature +gws -o /dev/null %s 2>&1 \
// RUN: | FileCheck --check-prefix=GWS %s
// GWS: warning: feature flag '+gws' is ignored since the feature is read only [-Winvalid-command-line-argument]
kernel void test() {}