www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12673] New: ICE with static assert and __traits(compiles)


          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: nobody puremagic.com
          Reporter: andrej.mitrovich gmail.com

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

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

Same in git-head.

Apr 28 2014