view run/t/tuple_24_A.d @ 1535:20d8ee6523e1

updated to DMD-1.013
author thomask
date Mon, 07 May 2007 05:19:57 +0000
parents ce8c04d69094
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Reiner Pope <reiner.pope@gmail.com>
// @date@	2007-04-08
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1114
// @desc@	[Issue 1114] Indexed tuple cannot be used in inheritance declaration

module dstress.run.t.tuple_24_A;

template Tuple(T...){
	alias T Tuple;
}

alias Tuple!(Object) Foo;

class Bar : Foo[0]{
}

int main(){
	Bar b = new Bar();
	return 0;
}