[Issue 10470] DMD doesn't care on externs qualifiers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 25 01:48:57 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10470
David <admin at dav1d.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |admin at dav1d.de
--- Comment #1 from David <admin at 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: -------
More information about the Digitalmars-d-bugs
mailing list