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
6unsigned foo(bool b) {
7    return WaveActiveCountBits(b);
8}
9