Mercurial > projects > ldc
view tests/mini/delegate.d @ 691:20ee709ce39e
Update tests readme.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Oct 2008 18:10:19 +0200 |
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); }