140
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
111
|
5 // @author@ Ivan Senji <ivan.senji@public.srce.hr>
|
|
6 // @date@ 2004-10-16
|
140
|
7 // @uri@ news:ckpj76$2r3m$1@digitaldaemon.com
|
1485
|
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2117
|
111
|
9
|
|
10 module dstress.nocompile.bug_20041016_B;
|
|
11
|
|
12 int getch(){
|
|
13 return 0;
|
|
14 }
|
|
15
|
|
16 void writefln(...){
|
|
17 }
|
|
18
|
|
19 class Cout{
|
|
20 Cout set(int x){
|
|
21 return this;
|
|
22 }
|
|
23 alias set opShl;
|
|
24 }
|
|
25
|
|
26 int main ( ){
|
|
27 Cout cout = new Cout;
|
|
28 cout << 5 << 4;
|
|
29 writefln,getch;
|
|
30 return 0;
|
|
31 }
|