# HG changeset patch # User thomask # Date 1111074744 0 # Node ID bb7273309924a2ab2c3ea572b055a640a3f95ca7 # Parent 188082b88d8554365918aaef90efeda74bee3b03 float as slice index Manfred Nowak 2005-03-06 news:d0fg6a$dfa$1@digitaldaemon.com diff -r 188082b88d85 -r bb7273309924 nocompile/slice_10.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/slice_10.d Thu Mar 17 15:52:24 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Manfred Nowak +// @date@ 2005-03-06 +// @uri@ news:d0fg6a$dfa$1@digitaldaemon.com + +module dstress.nocompile.slice_10; + +void test(){ + int[] array; + array.length=4; + float f=.2; + array[1..2]= array[f..1.3]; +} +