www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14377] New: compiler segfault

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

          Issue ID: 14377
           Summary: compiler segfault
           Product: D
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: kanael weka.io

DMD64 D Compiler v2.066.1

The code below causes the compiler to crash with a segfault.


auto A(string , T)(T ) {
}

auto A(T){
}

struct F {

    struct C {
    }

L!C* f;

}

struct L(M, string N="") {
    static assert(A!N()) ;
}

--
Mar 30 2015