view run/private_01.d @ 374:f87ba6507260

added missing meta-data
author thomask
date Thu, 31 Mar 2005 09:01:33 +0000
parents de27ca625bf7
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

module dstress.run.private_01;

class MyClass{
	private int test(int i){
		return i+1;
	}
}

int main(){
	MyClass c = new MyClass();
	assert(c.test(2)==3);
	return 0;
}