view tests/mini/o.d @ 1634:9cc791423e20

Fix typo for iretq
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Thu, 25 Feb 2010 17:12:54 -0700
parents eaf87e36ce0d
children
line wrap: on
line source

extern(C) int printf(char*, ...);

void func()
{
    try
    {
        printf("try\n");
        return;
    }
    catch
    {
        printf("catch\n");
    }
    finally
    {
        printf("finally\n");
    }
    return;
}

void main()
{
    func();
}