diff run/o/opCat_16_C.d @ 672:ec3124ba366f

AJG <AJG@nospam.com> 2005-09-18 news:dgj92k$226p$1@digitaldaemon.com
author thomask
date Mon, 19 Sep 2005 07:37:25 +0000
parents
children 9dcac8d4e97f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opCat_16_C.d	Mon Sep 19 07:37:25 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	AJG <AJG@nospam.com>
+// @date@	2005-09-18
+// @uri@	news:dgj92k$226p$1@digitaldaemon.com
+
+module dstress.run.o.opCat_16_C;
+
+int main(){
+	char[][] strings;
+	strings.length = 1;
+	strings[0] = "Foo";
+	char[] test = "Bar";
+	assert((strings ~  test).length==2);
+	assert((strings ~  test)[0] == "Foo");
+	assert((strings ~  test)[1] == "Bar");
+	return 0;
+}