comparison tests/mini/h.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents tangotests/h.d@68a7dd38c03c
children
comparison
equal deleted inserted replaced
340:351c0077d0b3 341:1bb99290e03a
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 main()
25 {
26 scope c = new C;
27 }