changeset 39:6ca37b0d907e

extended dup tests
author thomask
date Wed, 13 Oct 2004 07:33:32 +0000
parents cc64b53095b1
children 257b7166865f
files run/dup_04.d
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/dup_04.d	Wed Oct 13 07:33:32 2004 +0000
@@ -0,0 +1,12 @@
+// based on a report by:
+// @author@	Russ Lewis <spamhole-2001-07-16@deming-os.org>
+// @date@	2004-10-11
+// @url@	nttp://digitalmars.com/digitalmars.D.bugs:2068
+// @uri@	<ckdc4r$re2$1@digitaldaemon.com>
+
+int main() {
+	real[10] array;
+	real[] copy = array.dup;
+	copy.sort;
+	return 0;
+}