-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
fix Issue 22974 - importC: D name mangling applied to extern variable… #13950
Conversation
|
Thanks for your pull request, @WalterBright! Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#13950" |
d8d803f to
ce82e5f
Compare
The file |
test/runnable/test22974.c
Outdated
| extern int ccc(); | ||
| extern int xxx; | ||
| xxx = ccc(); | ||
| return 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return xxx = ccc() - 1;|
This is again the wrong location for a fix and should be moved to the frontend. Like I did in #13446 previously. |
… inside function