comparison tangotests/o.d @ 133:44a95ac7368a trunk

[svn r137] Many fixes towards tango.io.Console working, but not quite there yet... In particular, assertions has been fixed to include file/line info, and much more!
author lindquist
date Mon, 14 Jan 2008 05:11:54 +0100
parents
children
comparison
equal deleted inserted replaced
132:1700239cab2e 133:44a95ac7368a
1 extern(C) int printf(char*, ...);
2
3 void func()
4 {
5 try
6 {
7 printf("try\n");
8 return 0;
9 }
10 catch
11 {
12 printf("catch\n");
13 }
14 finally
15 {
16 printf("finally\n");
17 }
18 return 0;
19 }
20
21 void main()
22 {
23 func();
24 }