view test/structs.d @ 191:2900754a6989 trunk

[svn r207] Fixed: the runtime support didn't handle string switch.
author lindquist
date Mon, 12 May 2008 14:58:55 +0200
parents c53b6e3fe49a
children
line wrap: on
line source

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

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