Mercurial > projects > ldc
view tests/mini/delegate.d @ 992:6f5e40205f2a
Fix dstress runner to use ldmd
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 26 Feb 2009 14:49:32 +0100 |
parents | 8116660902c2 |
children |
line wrap: on
line source
class C { void foo() {} } void main() { C c = new C; void delegate() dlg = &c.foo; assert(dlg); }