Mercurial > projects > dstress
view nocompile/e/enum_50_D.d @ 1488:1ee9a0dd42d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 12:29:50 +0000 |
parents | 484211f83bfc |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Karen Lanrap <karen@digitaldaemon.com> // @date@ 2006-09-27 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=8501 // @desc@ wrong function overload // __DSTRESS_ELINE__ 30 module dstress.nocompile.e.enum_50_D; enum Color{ RED } enum Age{ OLD } class C{ void foo(Color c){ assert(0); } } int main(){ C c = new C(); c.foo(Age.OLD); return 0; }