Skip to content

Commit eacd2b5

Browse files
llvm-beanzinbelic
andcommitted
Update clang/test/SemaHLSL/Language/InitLists.hlsl
Co-authored-by: Finn Plummer <[email protected]>
1 parent 29aca99 commit eacd2b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaHLSL/Language/InitLists.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ void Errs() {
6565
TwoFloats F2 = {1}; // expected-error{{too few initializers in list for type 'TwoFloats' (expected 2 but found 1)}}
6666
TwoFloats F3 = {1,2,3}; // expected-error{{too many initializers in list for type 'TwoFloats' (expected 2 but found 3)}}
6767

68-
int2 Something = {1.xxx}; // expected-error{{too many initializers in list for type 'int2' (aka 'vector<int, 2>') (expected 2 but found 0)}}
68+
int2 Something = {1.xxx}; // expected-error{{too many initializers in list for type 'int2' (aka 'vector<int, 2>') (expected 2 but found 3)}}
6969
}

0 commit comments

Comments
 (0)