blob: 3222a7e9366addd65d695cf05b8d64d18d72a19f [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 WaveActiveCountBits(b);
}