Mercurial > projects > dstress
annotate run/auto_01.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/run/auto_01.d,v 1.1 2004/09/23 00:33:38 th Exp $ |
2 | |
3 // @author@ Sean Kelly <sean@f4.ca> | |
4 // @date@ 2004-09-11 | |
5 | |
6 auto class AutoClass{ | |
7 this(){ | |
8 throw new Exception("error msg"); | |
9 } | |
10 ~this(){ | |
11 assert(0); | |
12 } | |
13 } | |
14 | |
15 int main(){ | |
16 try{ | |
17 auto AutoClass ac = new AutoClass(); | |
18 }catch{ | |
19 } | |
20 return 0; | |
21 } |