Mercurial > projects > ldc
view tests/mini/delegate.d @ 842:e66c627c177e
Update tango patch for newest tango.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 08 Dec 2008 17:09:13 +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); }