[Issue 6902] Different "pure nothrow int()" types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 16 21:28:50 PST 2013


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



--- Comment #6 from Martin Nowak <code at dawg.eu> 2013-01-16 21:28:49 PST ---
cat > bug.d << CODE
void a()
{
    function void() { }();
}

void b()
{
    static void safe_nothrow() @safe nothrow pure { }
    auto f = &safe_nothrow;
    enum mangle = typeof(*f).mangleof;
    static assert(mangle == "FNaNbNfZv", mangle);
}
CODE

dmd -c bug

----

I've actually found a new failing test case for this.

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