changeset 513:ce57106d2619

Add minitest for broken empty template tuple parameters. Fix this one!
author Christian Kamm <kamm incasoftware de>
date Fri, 15 Aug 2008 23:11:59 +0200
parents 0d286cd9fd08
children 8116660902c2
files tests/mini/emptytuple.d
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/mini/emptytuple.d	Fri Aug 15 23:11:59 2008 +0200
@@ -0,0 +1,19 @@
+// $HeadURL: svn://svn.berlios.de/dstress/trunk/run/b/bug_glue_700_A.d $
+// $Date: 2007-02-27 17:42:34 +0100 (Di, 27 Feb 2007) $
+// $Author: thomask $
+
+// @author@	Kevin Bealer <kevinbealer@gmail.com>
+// @date@	2007-01-22
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=875
+// @desc@	[Issue 875] crash in glue.c line 700
+
+module dstress.run.b.bug_glue_700_A;
+
+template T(B...) {
+	typedef B TArgs;
+}
+
+int main(){
+	alias T!() instantiate;
+	return 0;
+}