annotate tests/mini/bug40.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents test/bug40.d@d7e764e62462
children
rev   line source
lindquist@72 1 module bug40;
lindquist@72 2
lindquist@72 3 char[] func(void* p)
lindquist@72 4 {
lindquist@72 5 return null;
lindquist@72 6 }
lindquist@72 7
lindquist@72 8 void main()
lindquist@72 9 {
lindquist@72 10 char[] function(void*) fp = &func;
lindquist@72 11 assert(fp(null) is null);
lindquist@72 12 }