June 25, 2013 [Issue 10470] New: DMD doesn't care on externs qualifiers | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10470 Summary: DMD doesn't care on externs qualifiers Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: temtaime@gmail.com --- Comment #0 from Temtaime <temtaime@gmail.com> 2013-06-25 01:41:20 PDT --- http://dpaste.1azy.net/9c18092d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 25, 2013 [Issue 10470] DMD doesn't care on externs qualifiers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Temtaime | http://d.puremagic.com/issues/show_bug.cgi?id=10470 David <admin@dav1d.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |admin@dav1d.de --- Comment #1 from David <admin@dav1d.de> 2013-06-25 01:48:56 PDT --- 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) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation