[Issue 4504] ICE(toir.c) using std.algorithm.count with recursive nested function and -inline.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 22 02:03:57 PST 2010


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



--- Comment #5 from Don <clugdbug at yahoo.com.au> 2010-11-22 02:02:04 PST ---
Reduced test case, from the duplicate bug 4784.
---

struct A( alias P ) {
    static void a() {
        void aa() { P(); }
    }
}

template B( alias P ) {
    void b() { A!P a; }
}

struct C( alias P ) {
    void c() { B!P.b(); }
}

void main() {
    void bar() {}
    C!bar c;
}

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


More information about the Digitalmars-d-bugs mailing list