view nocompile/overload_12.d @ 1330:f3f715978184

Georg Wrede <georg@iki.fi> 2007-01-07 mail:45A120F5.1050108@iki.fi
author thomask
date Sat, 13 Jan 2007 10:33:49 +0000
parents f87ba6507260
children 52c9e86b6486
line wrap: on
line source

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

// @author@	D Trebbien <D_member@pathlink.com>
// @date@	2005-01-07
// @uri@	news:crmrb6$2slf$1@digitaldaemon.com
// @url@        nntp://news.digitalmars.com/digitalmars.D.bugs/2649

// __DSTRESS_ELINE__ 26

module dstress.nocompile.overload_12;

class A{
	void test(int val){
	}
}

class B : A{
	void test(){
	}
}

int main(){
	B b = new B();
	b.test(1);
	b.test();
	return 0;
}