view run/debug_info_03.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 58ba24adbc52
children b8c0195059d9
line wrap: on
line source

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

// @author@	Jarrett Billingsley <kb3ctd2@yahoo.com>
// @date@	2005-03-25
// @uri@	news:d21vhg$pld$1@digitaldaemon.com

module dstress.run.debug_info_03;

class MyClass{
	int check(fn f){
		return 1;
	}
}

alias int function(MyClass m) fn;

int main(){
	MyClass m = new MyClass();
	fn f;
	assert(m.check(f)==1);
	return 0;
}