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


yebblies <yebbl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |CTFE
                 CC|                            |yebbl...@gmail.com
            Version|unspecified                 |D2


--- Comment #1 from yebblies <yebbl...@gmail.com> 2013-01-22 15:26:27 EST ---
For some reason &S gets turned into paint S -> S* which, unsurprisingly,
doesn't work.

int foo()
{
    static struct S
    {
        int i;
    }

    S s;
    (&s).i = 5;
    return 1;
}

static assert(foo());

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

Reply via email to