annotate nocompile/opEquals_03.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents b8c0195059d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
409
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
1 // $HeadURL$
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
2 // $Date$
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
3 // $Author$
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
4
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
5 // @author@ Uwe Salomon <post@uwesalomon.de>
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
6 // @date@ 2005-04-08
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 1107
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3559
409
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
8
528
9e0847cf535a pre DMD-0.123 review
thomask
parents: 409
diff changeset
9 // __DSTRESS_ELINE__ 21
409
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
10
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
11 module dstress.nocompile.opEquals_03;
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
12
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
13 struct TestStruct{
1107
afccd35b0bd3 [Issue 288] type of opEquals
thomask
parents: 528
diff changeset
14 bool opEquals(TestStruct[] t){ // no overload for TestStruct present
409
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
15 return 0;
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
16 }
a2efbcabdf5d structs: opCmp/opEquals
thomask
parents:
diff changeset
17 }
528
9e0847cf535a pre DMD-0.123 review
thomask
parents: 409
diff changeset
18
9e0847cf535a pre DMD-0.123 review
thomask
parents: 409
diff changeset
19 int main(){
9e0847cf535a pre DMD-0.123 review
thomask
parents: 409
diff changeset
20 TestStruct a, b;
9e0847cf535a pre DMD-0.123 review
thomask
parents: 409
diff changeset
21 if(a==b){
9e0847cf535a pre DMD-0.123 review
thomask
parents: 409
diff changeset
22 assert(0);
9e0847cf535a pre DMD-0.123 review
thomask
parents: 409
diff changeset
23 }
9e0847cf535a pre DMD-0.123 review
thomask
parents: 409
diff changeset
24 return 0;
9e0847cf535a pre DMD-0.123 review
thomask
parents: 409
diff changeset
25 }