We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove the test from the line if it fixed in the testcuite: 00091, 00148: TODO array in structure
00091, 00148: TODO array in structure
the test: https://github.com/c-testsuite/c-testsuite/blob/master/tests/single-exec/00148.c
struct S {int a; int b;}; struct S arr[2] = {[1] = {3, 4}, [0] = {1, 2}}; int main() { if(arr[0].a != 1) return 1; if(arr[0].b != 2) return 2; if(arr[1].a != 3) return 3; if(arr[1].b != 4) return 4; return 0; }
The text was updated successfully, but these errors were encountered:
Неверно считается размер структуры при инициализации, обращение к элементам поправил
Sorry, something went wrong.
#380, #376, #377
5f8f70a
LeDron12
YaRiabtsev
Successfully merging a pull request may close this issue.
remove the test from the line if it fixed in the testcuite:
00091, 00148: TODO array in structure
the test:
https://github.com/c-testsuite/c-testsuite/blob/master/tests/single-exec/00148.c
The text was updated successfully, but these errors were encountered: