view test/terms.d @ 72:d7e764e62462 trunk

[svn r76] Fixed: TypeInfo for structs. Fixed: PostExp was unable to allocate storage for parameters. Fixed: Many types of functions and delegates were broken. Misc cleanups.
author lindquist
date Mon, 29 Oct 2007 03:28:12 +0100
parents c53b6e3fe49a
children
line wrap: on
line source

module terms;

void f()
{
    int i = 42;
    if (i > 25)
        return;
    if (i < 25) {
        return;
    }

    if (i > 100)
        return;
    else
        return;

    if (i < 1000) {
        return;
    }
    else {
        return;
    }
}

void main()
{
    int i = 42;
    if (i > 25)
        return;
    if (i < 25) {
        return;
    }

    if (i > 100)
        return;
    else
        return;

    if (i < 1000) {
        return;
    }
    else {
        return;
    }
}