www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15688] New: dmd segfault


          Issue ID: 15688
           Summary: dmd segfault
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: john.loughran.colvin gmail.com

% cat bench.d
void step2()
  (mappings, 0)();
% dmd bench.d 
bench.d(3): Error: undefined identifier 'mappings'
[1]    81703 segmentation fault  dmd bench.d

haven't tried with a debug build of dmd, perhaps it would be an assertion

Feb 15 2016