Skip to content

Commit 52f45a7

Browse files
committed
fix select-errors test
1 parent 0376be9 commit 52f45a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaHLSL/BuiltIns/select-errors.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ int2 test_select_vector_vals_not_vecs(bool2 p0, int t0,
1515
}
1616

1717
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)}}
18+
return select<int1>(p0, t0, f0); // No diagnostic expected.
1919
}
2020

2121
int test_select_no_args() {

0 commit comments

Comments
 (0)