Skip to content

Commit 8b98636

Browse files
llvm-beanzinbelic
andcommitted
Update clang/test/SemaHLSL/Language/InitLists.hlsl
Doh! Co-authored-by: Finn Plummer <[email protected]>
1 parent a5d0d86 commit 8b98636

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
@@ -63,7 +63,7 @@ void fn() {
6363
void Errs() {
6464
TwoFloats F1 = {}; // expected-error{{too few initializers in list for type 'TwoFloats' (expected 2 but found 0)}}
6565
TwoFloats F2 = {1}; // expected-error{{too few initializers in list for type 'TwoFloats' (expected 2 but found 1)}}
66-
TwoFloats F3 = {1,2,3}; // expected-error{{too many initializers in list for type 'TwoFloats' (expected 2 but found 2)}}
66+
TwoFloats F3 = {1,2,3}; // expected-error{{too many initializers in list for type 'TwoFloats' (expected 2 but found 3)}}
6767

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

0 commit comments

Comments
 (0)