Mercurial > projects > ldc
view test/bug64.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 | 61615fa85940 |
children |
line wrap: on
line source
module bug64; void main() { float f; float* p = &f; float* end1 = p+1; float* end2 = 1+p; assert(end1 is end2); }