mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-17 19:07:05 +02:00
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
extern(C) int printf(char*, ...);
|
||||
|
||||
void func()
|
||||
{
|
||||
try
|
||||
{
|
||||
printf("try\n");
|
||||
return 0;
|
||||
}
|
||||
catch
|
||||
{
|
||||
printf("catch\n");
|
||||
}
|
||||
finally
|
||||
{
|
||||
printf("finally\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
func();
|
||||
}
|
||||
Reference in New Issue
Block a user