view run/t/template_64_B.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents 5e981cf4a7d5
children
line wrap: on
line source

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

// @author@	Christian Kamm <kamm@incasoftware.de>
// @date@	2007-04-24
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=540


module dstress.run.t.template_64_B;

template A(){
	static T foo(T)(T t){
		return t + 1;
	}
}

struct Bar{
	mixin A!() a;
}

int main(){
	if(2 != Bar.a.foo!(int)(1)){
		assert(0);
	}
	return 0;
}