Mercurial > projects > ldc
view test/classes.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 | c53b6e3fe49a |
children | d9d5d59873d8 |
line wrap: on
line source
class C { int i; void p() { printf("%d\n", i); } } void main() { printf("should print 4\n"); C c = new C; c.i = 4; c.p(); //delete c; }