-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
[clang] Assertion `ModuleScopes.size() <= 1 && "expected to be at global module scope"' failed. #115003
Comments
@llvm/issue-subscribers-clang-frontend Author: Yihan Yang (yijan4845)
**This testcase is generated by a fuzzer.**
Compiler Explorer: https://godbolt.org/z/vKr6oPYrq This invalid code will crash on Clang Assertion Trunk. export module a;
module :private;
export module a:part;
module; It seems that this goes back to clang-10. Stack dump:
|
@llvm/issue-subscribers-c-20 Author: Yihan Yang (yijan4845)
**This testcase is generated by a fuzzer.**
Compiler Explorer: https://godbolt.org/z/vKr6oPYrq This invalid code will crash on Clang Assertion Trunk. export module a;
module :private;
export module a:part;
module; It seems that this goes back to clang-10. Stack dump:
|
CC @ChuanqiXu9 |
This testcase is generated by a fuzzer.
Compiler Explorer: https://godbolt.org/z/vKr6oPYrq
This invalid code will crash on Clang Assertion Trunk.
It seems that this goes back to clang-10.
Stack dump:
The text was updated successfully, but these errors were encountered: