Mercurial > projects > ldc
view test/bug77.d @ 143:336ec4f4bbb3 trunk
[svn r147] tango.io.Console is now working. True this time :) Yay!
author | lindquist |
---|---|
date | Fri, 25 Jan 2008 01:42:36 +0100 |
parents | 9c79b61fb638 |
children | d9d5d59873d8 |
line wrap: on
line source
module bug77; import std.c.string; void main() { size_t len; void func2() { char* prefix = ""; void func() { len = strlen(prefix); assert(len == 0); } func(); } func2(); }