view test.td @ 137:efbf51d85f4d

No reason to explicitly add structs as llvm types If they are referenced anywhere they are already added
author Anders Halager <halager@gmail.com>
date Fri, 18 Jul 2008 13:10:53 +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;
}