view test/structs.d @ 269:967178e31a13 trunk

[svn r290] Forgot to remove a #define in mem.c
author lindquist
date Sun, 15 Jun 2008 18:57:11 +0200
parents c53b6e3fe49a
children
line wrap: on
line source

struct S
{
    int func()
    {
        return 42;
    }
}

void main()
{
    S s;
    int i = s.func();
}