Source

gdc / gdc.test / fail_compilation / fail46.d

Full commit

// compile with -inline

struct MyStruct
{
    int bug()
    {
	return 3;
    }
}

int main()
{
    assert(MyStruct.bug() == 3);
    return 0;
}