-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
No error when using params in @naked functions #4689
Comments
This bug is due to using Compare the output of this code with/without
|
I see. Should I expect this to be fixed? |
Not sure how much we want/should support with |
I do consider it a bug. If we don't support this usage / it's buggy, then it's better to emit a compile error for it than to leave it unfixed. |
On x86_64: https://godbolt.org/z/dEaaqPh7v
produces:
instead of
Changing
void*
toulong
causes LLVM ERROR:Same happens on arm64: https://godbolt.org/z/7Eb3Pqabd
The text was updated successfully, but these errors were encountered: