[Issue 14642] ICE in ctfeInterpret

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 3 03:34:47 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14642

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |All
                 OS|Linux                       |All

--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
Reduced test case from the second tar for 2.067.1:

alias TypeTuple(T...) = T;

struct X
{
    static struct NA()
    {
        X x;

        void check()
        {
            x.func();
        }
    }

    alias na = NA!();

    auto func()
    {
        Y* p;
        p.func();
    }
}

struct Y
{
    mixin Mix;
}

template Mix()
{
    void func()
    {
        auto z = Z(null);
    }
}

struct Type(size_t v) {}

enum errVal = errorValue;

struct Z
{
    Type!errVal v;
}

--


More information about the Digitalmars-d-bugs mailing list