Mercurial > projects > ldc
view tests/minicomplex/templ1.d @ 1158:08c1c3bfea5a
Fix goto inside synchronized functions.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 28 Mar 2009 14:26:23 +0100 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
module tangotests.templ1; import Util = tango.text.Util; extern(C) int printf(char*, ...); void main() { foreach (line; Util.lines("a\nb\nc")) { printf("%.*s\n", line.length, line.ptr); } }