Mercurial > projects > dstress
comparison run/template_class_04.d @ 0:3269e4627918
init dstress
author | svnowner |
---|---|
date | Sat, 25 Sep 2004 22:33:30 +0000 |
parents | |
children | 3414705c41ac |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3269e4627918 |
---|---|
1 // $Header: /home/th/Dokumente/Entwicklung/MEIN_CVS/MiniD/src/run/template_class_04.d,v 1.1 2004/09/23 06:16:18 th Exp $ | |
2 | |
3 // @author@ Bastiaan Veelo <Bastiaan.N.Veelo@ntnu.no> | |
4 // @date@ 2004-09-23 | |
5 | |
6 class Parent(){ | |
7 } | |
8 | |
9 class Child : Parent!(){ | |
10 } | |
11 | |
12 class Parent(Type){ | |
13 } | |
14 | |
15 int main(){ | |
16 Child c = new Child(); | |
17 return 0; | |
18 } |