Skip to content
New issue

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

assignment in conditions can be parsed by c parser but not c++ #212

Closed
DennySun2100 opened this issue Jul 7, 2023 · 0 comments
Closed

Comments

@DennySun2100
Copy link

int arg = 0;
if ((arg = arg + 1) > 5) {
    printf("arg: %d, greater than 5.\n", arg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants