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

          Issue ID: 12673
           Summary: ICE with static assert and __traits(compiles) with
                    non-existent symbol
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: [email protected]
          Reporter: [email protected]

-----
void main()
{
    static assert(__traits(compiles, { abcd(); }));
}
-----

2.065:
Assertion failure: '0' on line 99 in file 'statement.c'

Same in git-head.

--

Reply via email to