view test/bug40.d @ 272:94ef6d63f7bb trunk

[svn r293] Fixed: object.TypeInfo_Struct implementation was incorrect.
author lindquist
date Wed, 18 Jun 2008 22:27:02 +0200
parents d7e764e62462
children
line wrap: on
line source

module bug40;

char[] func(void* p)
{
    return null;
}

void main()
{
    char[] function(void*) fp = &func;
    assert(fp(null) is null);
}