view run/t/template_58_E.d @ 1609:3c803614a8fb

Add a few missing abstracts.
author Christian Kamm <kamm incasoftware de>
date Sun, 26 Apr 2009 13:38:23 +0200
parents c41d70e10b6f
children
line wrap: on
line source

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

// @author@	Don Clugston <clugdbug@yahoo.com.au>
// @date@	2007-02-02
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=993
// @desc@	[Issue 993] No constant folding for template value default arguments

module dstress.run.t.template_58_E;

int a(int b = 7 * 2)(){
	return b + 1; 
}

int main() {
	if(15 != a()){
		assert(0);
	}
	return 0;
}