Mercurial > projects > dstress
comparison run/default_argument_02.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/default_argument_02.d,v 1.1 2004/08/21 23:18:23 th Exp $ | |
2 | |
3 // @author@ Andy Friesen <andy@ikagames.com> | |
4 // @date@ 2004-06-25 | |
5 // @uri@ news://cbfp7c$2rcg$1@digitaldaemon.com | |
6 | |
7 class MyClass{ | |
8 static MyClass test(int i=0){ | |
9 return new MyClass(); | |
10 } | |
11 } | |
12 | |
13 int main(){ | |
14 MyClass c; | |
15 c = MyClass.test; | |
16 | |
17 return 0; | |
18 } |