# HG changeset patch # User thomask # Date 1165769538 0 # Node ID a7e43a02165339c89017931aaf391abb975c2c5d # Parent 0416bf646f226d0627e4da2fc1681058f92f4515 debry diff -r 0416bf646f22 -r a7e43a021653 nocompile/b/bug_template_2622_B.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/b/bug_template_2622_B.d Sun Dec 10 16:52:18 2006 +0000 @@ -0,0 +1,23 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba +// @date@ 2006-12-05 +// @uri@ news:bug-651-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 651] New: Assertion failure: 'global.errors' on line 2622 in file 'template.c' + +// __DSTRESS_ELINE__ 20 + +module dstress.nocompile.b.bug_template_2622_B; + +int i; + +template foo(T){ +} + +template bar(T...){ + alias foo!(T) buz; +} + +alias bar!(i) a;