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