comparison test/bug40.d @ 72:d7e764e62462 trunk

[svn r76] Fixed: TypeInfo for structs. Fixed: PostExp was unable to allocate storage for parameters. Fixed: Many types of functions and delegates were broken. Misc cleanups.
author lindquist
date Mon, 29 Oct 2007 03:28:12 +0100
parents
children
comparison
equal deleted inserted replaced
71:53d3086b5ad3 72:d7e764e62462
1 module bug40;
2
3 char[] func(void* p)
4 {
5 return null;
6 }
7
8 void main()
9 {
10 char[] function(void*) fp = &func;
11 assert(fp(null) is null);
12 }