comparison tangotests/h.d @ 133:44a95ac7368a trunk

[svn r137] Many fixes towards tango.io.Console working, but not quite there yet... In particular, assertions has been fixed to include file/line info, and much more!
author lindquist
date Mon, 14 Jan 2008 05:11:54 +0100
parents
children 68a7dd38c03c
comparison
equal deleted inserted replaced
132:1700239cab2e 133:44a95ac7368a
1 interface Iin
2 {
3 void[] read(size_t n);
4 }
5
6 interface Iout
7 {
8 size_t write(void[] d);
9 }
10
11 class C : Iin
12 {
13 void[] read(size_t n)
14 {
15 return null;
16 }
17
18 size_t write(void[] d)
19 {
20 return 0;
21 }
22 }
23
24 void func()
25 {
26 scope c = new C;
27 }