https://issues.dlang.org/show_bug.cgi?id=21994

          Issue ID: 21994
           Summary: (char*)"string" fails to compile
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

void test()
{
    char* q = (char*)"hello";
}

fails to recognize (char*) as the start of a cast.

--

Reply via email to