view test.td @ 159:a2d9121d6dff

Added some tests for constructor and new.
author Anders Johnsen <skabet@gmail.com>
date Tue, 22 Jul 2008 00:34:49 +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;
}