Mercurial > projects > ldc
view tests/mini/dgfuncptr.d @ 1286:23b23b74e326
Remove calls to some runtime functions if their results are unused
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sat, 02 May 2009 11:58:50 +0200 |
parents | 4435f57956e7 |
children |
line wrap: on
line source
void main() { void foo() {} auto dg = &foo; if(dg.funcptr is null) { assert(0); } }