view test.td @ 149:393a1f47a6d2

For loops in AST and sema. Should have correct scope and such now.
author Anders Johnsen <skabet@gmail.com>
date Mon, 21 Jul 2008 21:00:20 +0200
parents da551f90e03f
children
line wrap: on
line source




int main()
{
    int y = 4;

    karina k;


    while (y > 0)
        y = y - 1;

    return x;
}

int x = 4;


struct karina
{
    anders a;
    int age;
    int width;
    int height;
    int lovers;
}
struct anders
{
    int hej;
}