Mercurial > projects > dstress
annotate nocompile/interface_03.d @ 0:3269e4627918
init dstress
author | svnowner |
---|---|
date | Sat, 25 Sep 2004 22:33:30 +0000 |
parents | |
children | 3414705c41ac |
rev | line source |
---|---|
0 | 1 // $Header: /home/th/Dokumente/Entwicklung/MEIN_CVS/MiniD/src/nocompile/interface_03.d,v 1.1 2004/08/23 17:18:31 th Exp $ |
2 | |
3 interface MyInterface{ | |
4 void one(); | |
5 void two(); | |
6 } | |
7 | |
8 class MyClass : MyInterface{ | |
9 void one(){ | |
10 } | |
11 } | |
12 | |
13 int main(){ | |
14 MyClass c = new MyClass(); | |
15 return 0; | |
16 } |