comparison tests/mini/o.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents tangotests/o.d@44a95ac7368a
children eaf87e36ce0d
comparison
equal deleted inserted replaced
340:351c0077d0b3 341:1bb99290e03a
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 }