Mercurial > projects > dstress
view run/unicode_05.d @ 1536:89775df1607d
vtable can't be used as a template parameter
author | thomask |
---|---|
date | Mon, 07 May 2007 05:20:25 +0000 |
parents | 52c9e86b6486 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Anders F Björklund <afb@algonet.se> // @date@ 2005-01-25 // @uri@ news:ct428n$2qoe$1@digitaldaemon.com // @uri@ nntp://news.digitalmars.com/D.gnu/983 module dstress.run.unicode_05; class 国{ int 人; } int main(){ 国 日本 = new 国(); assert(日本.人==0); 日本.人++; assert(日本.人==1); return 0; }