www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15278] New: Compile-time segfault when compiling code with


          Issue ID: 15278
           Summary: Compile-time segfault when compiling code with alias
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: andrei erdani.com

dmd v2.069-devel-5db650f segfaults while compiling this code with -unittest:

module persistent_list;
import std.experimental.allocator;

struct List(T)
    private IAllocator allocator;
    private List!T unqualifiedCopy() const;
    alias unqualifiedCopy this;

void main()
    List!(immutable int) lst;

Nov 02 2015