view nocompile/c/classinfo_02_B.d @ 1536:89775df1607d

vtable can't be used as a template parameter
author thomask
date Mon, 07 May 2007 05:20:25 +0000
parents
children
line wrap: on
line source

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

// @author@	david <davidl@126.com>
// @date@	2007-04-16
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1153
// @desc@	[Issue 1153] dmd assertion failure

// __DSTRESS_ELINE__ 20

module dstress.nocompile.c.classinfo_02_B;

interface Foo{
}

template Wrapper(int i){
} 

mixin Wrapper!(cast(int)(Foo.classinfo.vtbl[0]));