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