repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaHLSL
/
Wave.hlsl
blob
9c99499d2250909d59b2402fb7ad59fd583e032d
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
6
unsigned foo(bool b) {
7
return hlsl::WaveActiveCountBits(b);
8
}