[Issue 1576] Crash on const ref parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 13 11:33:34 PDT 2007


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


spam at extrawurst.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spam at extrawurst.org




------- Comment #2 from spam at extrawurst.org  2007-10-13 13:33 -------
i came across this one a few times too!

testcase:


struct Foo {
        void bar(ref const int _a) {
        }
}

void main()
{
        Foo a;

        int b=0;

        a.bar(b);
}


-- 



More information about the Digitalmars-d-bugs mailing list