view tests/parser/public_1.d @ 156:2c5a8061aa4a

Made some tests dmd-compatible
author Anders Johnsen <skabet@gmail.com>
date Mon, 21 Jul 2008 22:13:12 +0200
parents 6e6355fb5f0f
children 2a1a635bd531
line wrap: on
line source

module tests.parser.public_1;

public struct name
{
static:
    public void foo()
    {
    }
public
{
    private void bar()
    {
    }
auto:
    final int i;
}

static:
    public void food()
    {
    }
    private void bard()
    {
    }
    final int id;
}

void main()
{
}