aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenOpenCL/amdgpu-features-readonly.cl
blob: d23e6f2948326190e2b2dace11777dd8da4c35e7 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -triple amdgcn -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() {}