← Back to index
|
Original Bugzilla link
Bug 10873 – Refused extern(C) function type definition with new alias syntax
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2013-08-22T17:06:00Z
Last change time
2013-08-22T17:09:56Z
Keywords
rejects-valid
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2013-08-22T17:06:59Z
alias extern(C) void* function(in size_t size) nothrow T1; // OK alias T2 = extern(C) void* function(in size_t size) nothrow; // Error void main() {} dmd 2.064alpha: 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(in size_t size) nothrow
Comment #1
by andrej.mitrovich — 2013-08-22T17:09:56Z
*** This issue has been marked as a duplicate of issue 10471 ***