http://d.puremagic.com/issues/show_bug.cgi?id=3305

           Summary: Segfault(expression.c) with recursive struct template
                    alias expressions
           Product: D
           Version: 2.022
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don <clugd...@yahoo.com.au> 2009-09-07 08:26:42 PDT ---
This is the third bug in bug 3293. Hard to explain, but here is the test case:
----
struct bug3305(alias X = 0) {
    auto guard = bug3305b!(0).guard;
}

struct bug3305b(alias X = 0){
    bug3305!(X) goo; 
    auto guard = 0;
}

void test(){
    bug3305!(0) a;
}

---
Segfaulting in expression.c, Expression::deref(), with a NULL type.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to