Mercurial > projects > dstress
changeset 722:283709990093
Don Clugston <dac@nospam.com.au>
2005-10-27
news:djq89r$1i6e$1@digitaldaemon.com
author | thomask |
---|---|
date | Fri, 28 Oct 2005 21:31:14 +0000 |
parents | 9c56e95b4ec8 |
children | 9a2158064fdd |
files | nocompile/t/template_17_A.d |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/template_17_A.d Fri Oct 28 21:31:14 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Don Clugston <dac@nospam.com.au> +// @date@ 2005-10-27 +// @uri@ news:djq89r$1i6e$1@digitaldaemon.com + +module dstress.nocompile.t.template_17_A; + +template t(int i){ + const int x = t!(i+1).x; +} + +void main(){ + int i = t!(0).x; +}