brintos

brintos / llvm-project-archived public Read only

0
0
Text · 243 B · 9c99499 Raw
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