view tests/mini/structs.d @ 982:b5e1797e9557

Add explicit paths to revisions.* to unbreak out-of-source build.
author Frits van Bommel <fvbommel wxs.nl>
date Thu, 19 Feb 2009 00:50:35 +0100
parents 1bb99290e03a
children
line wrap: on
line source

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

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