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


Sobirari Muhomori <dfj1es...@sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2573


--- Comment #7 from Sobirari Muhomori <dfj1es...@sneakemail.com> 2010-10-19 
11:04:48 PDT ---
also
---
import core.stdc.stdio;

void f(int[] a)
{
    a[0]=42;
}

int main()
{
    immutable int[] b = [1,2,3];
    void function(const int[] a) g=&f;
    printf("%d\n",b[0]);
    g(b);
    printf("%d\n",b[0]);
    return 0;
}
---
1
42

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

Reply via email to