package TestCase::Simple : public {
use TestCase::Minimal;
has x : rw public int;
has y : rw public int;
has byte_value : rw public byte;
has short_value : rw public short;
has int_value : rw public int;
has long_value : rw public long;
has float_value : rw public float;
has double_value : rw public double;
has object_value : rw public TestCase::Minimal;
our $FOO : public rw int;
our $VAR_PRIVATE : private int;
sub get_x : int ($self : self) {
return $self->{x};
}
sub new : TestCase::Simple () {
return new TestCase::Simple;
}
sub import_sub1 : int () {
return 1;
}
sub import_sub2 : int () {
return 2;
}
}