annotate run/in_out_body_08.d @ 275:62ebf330f1be

InException and OutException Anders F Bj?rklund <afb@algonet.se> 2005-02-06 news:cu5eci$1asg$1@digitaldaemon.com
author thomask
date Mon, 07 Feb 2005 12:41:48 +0000
parents
children 1e6afb94ce6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
275
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
1 // $HeadURL$
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
2 // $Date$
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
3 // $Author$
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
4
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
5 // @author@ Anders F Björklund <afb@algonet.se>
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
6 // @date@ 2005-02-06
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
7 // @uri@ news:cu5eci$1asg$1@digitaldaemon.com
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
8
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
9 module dstress.run.in_out_body_08;
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
10
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
11 void test()
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
12 out{
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
13 assert(0);
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
14 }
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
15 body{
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
16 }
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
17
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
18 int main(){
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
19 try{
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
20 test();
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
21 }catch(OutException oe){
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
22 return 0;
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
23 }
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
24 assert(0);
62ebf330f1be InException and OutException
thomask
parents:
diff changeset
25 }