-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Assert-fail on C++20 paren-agg-init of array type #92284
Comments
@llvm/issue-subscribers-clang-frontend Author: Amirreza Ashouri (AMP999)
https://godbolt.org/z/bns6MrY9E
Compile with
The same crash happens with these variations, all of which are accepted without complaint by GCC:
|
@llvm/issue-subscribers-c-20 Author: Amirreza Ashouri (AMP999)
https://godbolt.org/z/bns6MrY9E
Compile with
The same crash happens with these variations, all of which are accepted without complaint by GCC:
|
https://godbolt.org/z/bns6MrY9E
Compile with
-std=c++20
. Clang assert-fails with the message "Expression result is not a constant array type":The same crash happens with these variations, all of which are accepted without complaint by GCC:
The text was updated successfully, but these errors were encountered: