view run/t/template_56_A.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents fe473839afc2
children
line wrap: on
line source

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

// @author@	Marcin Kuszczak <aarti@interia.pl>
// @date@	2006-12-29
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=769
// @desc@	[Issue 769] Property not properly compiled - (error on valid code)

module dstress.run.t.template_56_A;

class DataManager {
	static DataManager instance() {
		return new DataManager();
	}

	T get(T)(int row) {
		return T.init;
	}
}

int main(){
	if(0xFF != DataManager.instance().get!(char)(1)){
		assert(0);
	}

	return 0;
}