view tests/mini/emptytuple.d @ 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
children e739ef5dfff0
line wrap: on
line source

// $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;
}