File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
clang/test/SemaHLSL/Language Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ void fn() {
6363void 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}
You can’t perform that action at this time.
0 commit comments