mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-01 09:39:24 +02:00
In particular, assertions has been fixed to include file/line info, and much more!
25 lines
259 B
D
25 lines
259 B
D
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();
|
|
}
|