view run/a/auto_20_A.d @ 1572:169ba9b6cb5d

[Issue 1013] Invalid code generated for naked functions with (u)long arguments <madou@madou.org> 2007-03-01 http://d.puremagic.com/issues/show_bug.cgi?id=1013
author thomask
date Thu, 21 Feb 2008 15:18:50 +0000
parents 1e01d8b3e715
children
line wrap: on
line source

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

// @author@	Dave <godaves@yahoo.com>
// @date@	2006-11-26
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=606

module dstress.run.a.auto_20_A;

int prop() {
	return 0x12AA34FF;
}

int main(){
	auto x = prop;
	static assert(is(typeof(x) == int));

	if(0x12AA34FF != x){
		assert(0);
	}

	return 0;
}