blob: 9c99499d2250909d59b2402fb7ad59fd583e032d [file] [log] [blame]
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil--shadermodel6.7-library %s -verify
// Make sure WaveActiveCountBits is accepted.
// expected-no-diagnostics
unsigned foo(bool b) {
return hlsl::WaveActiveCountBits(b);
}