comparison 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
comparison
equal deleted inserted replaced
512:0d286cd9fd08 513:ce57106d2619
1 // $HeadURL: svn://svn.berlios.de/dstress/trunk/run/b/bug_glue_700_A.d $
2 // $Date: 2007-02-27 17:42:34 +0100 (Di, 27 Feb 2007) $
3 // $Author: thomask $
4
5 // @author@ Kevin Bealer <kevinbealer@gmail.com>
6 // @date@ 2007-01-22
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=875
8 // @desc@ [Issue 875] crash in glue.c line 700
9
10 module dstress.run.b.bug_glue_700_A;
11
12 template T(B...) {
13 typedef B TArgs;
14 }
15
16 int main(){
17 alias T!() instantiate;
18 return 0;
19 }