[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaHLSL / Wave.hlsl
blob9c99499d2250909d59b2402fb7ad59fd583e032d
1 // RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil--shadermodel6.7-library  %s  -verify
3 // Make sure WaveActiveCountBits is accepted.
5 // expected-no-diagnostics
6 unsigned foo(bool b) {
7     return hlsl::WaveActiveCountBits(b);