view test/bug40.d @ 266:5d2f4814bb2e trunk

[svn r287] update to test statistics generation
author ChristianK
date Sun, 15 Jun 2008 12:58:48 +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);
}