Summary: ICE: 'global.errors' on line 4893 in file 'template.c'
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Andrej Mitrovic <> 2012-01-09 
06:38:05 PST ---
import std.conv;

//~ alias const(char)* function() CFunc;  // fixed version
alias const char* function() CFunc;

void main()
    CFunc cFunc;
    auto name = to!string(cFunc());    

The fixed version compiles, the one below it produces an ICE:
Assertion failure: 'global.errors' on line 4893 in file 'template.c'

abnormal program termination

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to