9 lines · plain
1// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil--shadermodel6.7-library %s -verify2 3// Make sure WaveActiveCountBits is accepted.4 5// expected-no-diagnostics6unsigned foo(bool b) {7 return hlsl::WaveActiveCountBits(b);8}9