view tangotests/e.d @ 303:4aa2b6753059 trunk

[svn r324] Small indentation fixes. Added end of line to complex.cpp.
author ChristianK
date Wed, 25 Jun 2008 20:42:30 +0200
parents 68a7dd38c03c
children
line wrap: on
line source

extern(C) int printf(char*,...);

class MyClass
{
    this(int i = 4)
    {
        inner = this.new InnerClass;
    }

    class InnerClass : Object.Monitor
    {
        void lock() {}
        void unlock() {}
    }

    InnerClass inner;
}

void func()
{
    scope c = new MyClass(42);
}

void main()
{
    func();
}