Bug 12673 – ICE with static assert and __traits(compiles) with non-existent symbol
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-04-28T13:03:00Z
Last change time
2014-05-04T12:43:42Z
Keywords
ice, pull
Assigned to
nobody
Creator
andrej.mitrovich
Comments
Comment #0 by andrej.mitrovich — 2014-04-28T13:03:49Z
-----
void main()
{
static assert(__traits(compiles, { abcd(); }));
}
-----
2.065:
Assertion failure: '0' on line 99 in file 'statement.c'
Same in git-head.