We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0376be9 commit 52f45a7Copy full SHA for 52f45a7
clang/test/SemaHLSL/BuiltIns/select-errors.hlsl
@@ -15,7 +15,7 @@ int2 test_select_vector_vals_not_vecs(bool2 p0, int t0,
15
}
16
17
int1 test_select_vector_vals_wrong_size(bool2 p0, int1 t0, int1 f0) {
18
- return select<int,1>(p0, t0, f0); // expected-warning{{implicit conversion truncates vector: 'bool2' (aka 'vector<bool, 2>') to 'vector<bool, 1>' (vector of 1 'bool' value)}}
+ return select<int1>(p0, t0, f0); // No diagnostic expected.
19
20
21
int test_select_no_args() {
0 commit comments