changeset 1531:640c34dfc7a5

updated to DMD-1.013
author thomask
date Fri, 27 Apr 2007 17:35:09 +0000
parents 1665114e9a64
children 94502f22d55e
files run/b/bug_expression_5981_B.d
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_expression_5981_B.d	Fri Apr 27 17:35:09 2007 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp>
+// @date@	2006-12-03
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=641
+// @desc@	[Issue 641] New: Complex string operations in template argument ICEs dmd
+
+module dstress.run.b.bug_expression_5981_B;
+
+int main(){
+	auto x = ([""]~[])[0];
+
+	if(is(typeof(x) : char[])){
+		return 0;
+	}
+
+	assert(0);
+}