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 line if it fixed in the testcuite: 00197: TODO static variables
00197: TODO static variables
the test: https://github.com/c-testsuite/c-testsuite/blob/master/tests/single-exec/00197.c
#include <stdio.h> static int fred = 1234; static int joe; void henry() { static int fred = 4567; printf("%d\n", fred); fred++; } int main() { printf("%d\n", fred); henry(); henry(); henry(); henry(); printf("%d\n", fred); fred = 8901; joe = 2345; printf("%d\n", fred); printf("%d\n", joe); return 0; } /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/
The text was updated successfully, but these errors were encountered:
nkchuykin
No branches or pull requests
remove the line if it fixed in the testcuite:
00197: TODO static variables
the test:
https://github.com/c-testsuite/c-testsuite/blob/master/tests/single-exec/00197.c
The text was updated successfully, but these errors were encountered: