Mercurial > projects > dstress
view nocompile/bug_20041016_B.d @ 77:fecc79e23cd8
Ivan Senji <ivan.senji@public.srce.hr> / news://ckpj76r3m@digitaldaemon.com / nttp://digitalmars.com/digitalmars.D.bugs:2117
author | thomask |
---|---|
date | Fri, 29 Oct 2004 05:47:48 +0000 |
parents | |
children | 24da167d3f07 |
line wrap: on
line source
// @author@ Ivan Senji <ivan.senji@public.srce.hr> // @date@ 2004-10-16 // @uri@ news://ckpj76$2r3m$1@digitaldaemon.com // @url@ nttp://digitalmars.com/digitalmars.D.bugs:2117 module dstress.nocompile.bug_20041016_B; int getch(){ return 0; } void writefln(...){ } class Cout{ Cout set(int x){ return this; } alias set opShl; } int main ( ){ Cout cout = new Cout; cout << 5 << 4; writefln,getch; return 0; }