409
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Uwe Salomon <post@uwesalomon.de>
|
|
6 // @date@ 2005-04-08
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3559
|
409
|
8
|
528
|
9 // __DSTRESS_ELINE__ 21
|
409
|
10
|
|
11 module dstress.nocompile.opEquals_03;
|
|
12
|
|
13 struct TestStruct{
|
1107
|
14 bool opEquals(TestStruct[] t){ // no overload for TestStruct present
|
409
|
15 return 0;
|
|
16 }
|
|
17 }
|
528
|
18
|
|
19 int main(){
|
|
20 TestStruct a, b;
|
|
21 if(a==b){
|
|
22 assert(0);
|
|
23 }
|
|
24 return 0;
|
|
25 }
|