Mercurial > projects > ldc
comparison tests/mini/interface5.d @ 1118:dde9dbae052a
Make this test a bit more meaningful
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sat, 14 Mar 2009 22:29:31 +0100 |
parents | 1bb99290e03a |
children |
comparison
equal
deleted
inserted
replaced
1117:4c20fcc4252b | 1118:dde9dbae052a |
---|---|
21 { | 21 { |
22 C c = new C; | 22 C c = new C; |
23 c.func(); | 23 c.func(); |
24 { | 24 { |
25 I i = c; | 25 I i = c; |
26 c.func(); | 26 i.func(); |
27 | 27 |
28 C c2 = cast(C)i; | 28 C c2 = cast(C)i; |
29 c2.func(); | 29 c2.func(); |
30 | 30 |
31 c.func(); | 31 c.func(); |