comparison tangotests/templ1.d @ 171:95f07e3f8bb9 trunk

[svn r187] Fixed missing definitions of instances of imported struct template declarations.
author lindquist
date Tue, 06 May 2008 05:25:53 +0200
parents
children
comparison
equal deleted inserted replaced
170:6476da35a0fe 171:95f07e3f8bb9
1 module tangotests.templ1;
2
3 import Util = tango.text.Util;
4
5 extern(C) int printf(char*, ...);
6
7 void main()
8 {
9 foreach (line; Util.lines("a\nb\nc"))
10 {
11 printf("%.*s\n", line.length, line.ptr);
12 }
13 }