← Back to index
|
Original Bugzilla link
Bug 10470 – Linkage (extern) ignored in alias declaration
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-25T01:41:20Z
Last change time
2024-12-13T18:08:32Z
Assigned to
No Owner
Creator
Temtaime
Moved to GitHub: dmd#18616 →
Comments
Comment #0
by temtaime — 2013-06-25T01:41:20Z
http://dpaste.1azy.net/9c18092d
Comment #1
by admin — 2013-06-25T01:48:56Z
Code: import std.stdio; extern(Windows) void foo(); void bar(); void main() { alias typeof(foo) F; alias extern(Windows) typeof(bar) B; writeln(F.stringof); writeln(B.stringof); // expected result as foo gives } Output: extern (Windows) void() void() (Taken 1:1 from dpaste)
Comment #2
by yebblies — 2013-11-21T03:33:17Z
*** Issue 11379 has been marked as a duplicate of this issue. ***
Comment #3
by robert.schadek — 2024-12-13T18:08:32Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/18616
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB