Mercurial > projects > ldc
view test/nested12.d @ 200:e937752e4541 trunk
[svn r216] don't crash on foreach over zero-length static array
author | ChristianK |
---|---|
date | Mon, 12 May 2008 22:27:05 +0200 |
parents | 5825d48b27d1 |
children | 25fa34e899e9 |
line wrap: on
line source
module nested12; void main() { func(); } void func() { void a(int i) { printf("%d\n", i); } void b() { a(42); } b(); }