www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11396] New: Function alias declaration not valid according to spec

http://d.puremagic.com/issues/show_bug.cgi?id=11396

           Summary: Function alias declaration not valid according to spec
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody puremagic.com
        ReportedBy: brian-schott cox.net


--- Comment #0 from brian-schott cox.net 2013-10-30 20:52:33 PDT ---
The official language specification does not allow for the following
declaration:

alias extern(C) int function(int) foo;

But this code is accepted by DMD.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 30 2013