view tests/mini/bug40.d @ 701:855e0ef78fa2

Guess exe name from first object name if none specified.
author Christian Kamm <kamm incasoftware de>
date Mon, 13 Oct 2008 19:02:03 +0200
parents 1bb99290e03a
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);
}