[Issue 5932] Internal error: s2ir.c 339

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 15 07:47:01 PDT 2011


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|D2                          |D1 & D2


--- Comment #2 from Don <clugdbug at yahoo.com.au> 2011-09-15 07:46:34 PDT ---
Reduced test case fails also on D1.070 (again with ICE(s2ir.c).
On D2.054 and later, this test case hits bug 6675 ICE(glue.c) instead.
======

void receive(T)() {
    static assert( 0 );
    get( 7 );
}

void get(T)( T val ) {
    void onStandardMsg() {
        foreach( t; T ) { }
    }
}

static assert(!is(typeof(
    {
        receive!(int)();
    }()
)));

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