www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13788] New: dmd segfault, pragma(mangle) and a mixin


          Issue ID: 13788
           Summary: dmd segfault, pragma(mangle) and a mixin
           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

part of a dustmite reduction of druntime, all it takes is one line:

pragma(mangle) mixin("");

test.d(1): Error: pragma mangle string expected for mangled name
Segmentation fault: 11

tested on OS X 10.10, dmd 2.066.0 and git HEAD

Nov 28 2014