[Issue 6754] extern() in a function signature
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 10 13:26:38 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6754
--- Comment #4 from bearophile_hugs at eml.cc 2013-10-10 13:26:36 PDT ---
Another example:
alias extern(C) void function() TF1; // OK
alias TF2 = extern(C) void function(); // Error
void main() {}
test.d(2): Error: basic type expected, not extern
test.d(2): Error: semicolon expected to close alias declaration
test.d(2): Error: no identifier for declarator extern (C) void function()
--
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