Mercurial > projects > dstress
view nocompile/deprecated_04.d @ 1536:89775df1607d
vtable can't be used as a template parameter
author | thomask |
---|---|
date | Mon, 07 May 2007 05:20:25 +0000 |
parents | 1f6cf5ccfbc9 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // __DSTRESS_ELINE__ 11 module dstress.nocompile.deprecated_04; class MyClass{ this(int a){ this("abc"); } deprecated this(char[] c){ } } int main(){ MyClass c = new MyClass(1); return 0; }