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() {
63
63
void Errs () {
64
64
TwoFloats F1 = {}; // expected-error{{too few initializers in list for type 'TwoFloats' (expected 2 but found 0)}}
65
65
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 )}}
67
67
68
68
int2 Something = {1. xxx}; // expected-error{{too many initializers in list for type 'int2' (aka 'vector<int, 2>') (expected 2 but found 0)}}
69
69
}
You can’t perform that action at this time.
0 commit comments