changeset 1374:359e658d128f

[Issue 683] dmd segv, this ain't the same as bug 682 david <davidl@126.com> 2006-12-12 http://d.puremagic.com/issues/show_bug.cgi?id=683
author thomask
date Tue, 27 Feb 2007 16:43:13 +0000
parents 7231246f20c2
children 9ad3ba500299
files run/b/bug_expression_775_A.d
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_expression_775_A.d	Tue Feb 27 16:43:13 2007 +0000
@@ -0,0 +1,18 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	david <davidl@126.com>
+// @date@	2006-12-12
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=683
+// @desc@	[Issue 683] dmd segv, this ain't the same as bug 682
+
+module dstress.run.b.bug_expression_775_A;
+
+void a(char[] name, T...)(char[]name, T t){
+}
+
+int main(){
+	a!("Adf"[], typeof("adf"))("Adf"[],"adf");
+	return 0;
+}