Debian Codegraph @

clang/test/SemaHLSL/Wave.hlsl

raw
1 // RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil--shadermodel6.7-library %s -verify
2
3 // Make sure WaveActiveCountBits is accepted.
4
5 // expected-no-diagnostics
6 unsigned foo(bool b) {
7 return hlsl::WaveActiveCountBits(b);
8 }