// 12.ck : class definition and instantiation

// define local class X (use 'public' to define global class)
class X
{
    // function foo
    public void foo() { }

    // members
    int y;
    dur z;
}

// instantiate a X
X x;

// test
<<<"success">>>;
