Mercurial > projects > ldc
view tests/mini/delegate.d @ 783:d268bf419a09
hgignore updates for CMake.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 22 Nov 2008 21:11:26 +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); }