mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
Fixed: PostExp was unable to allocate storage for parameters. Fixed: Many types of functions and delegates were broken. Misc cleanups.
13 lines
143 B
D
13 lines
143 B
D
module bug40;
|
|
|
|
char[] func(void* p)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
char[] function(void*) fp = &func;
|
|
assert(fp(null) is null);
|
|
}
|