www.digitalmars.com         C & C++   DMDScript  

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

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

          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("");

output:
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