annotate run/invariant_18.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 ec5e144583ea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
140
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
1 // $HeadURL$
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
2 // $Date$
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
3 // $Author$
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
4
202
4cd33115f015 1) fixed @author@ typos
thomask
parents: 140
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
70
5f98d4a33d49 1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents: 66
diff changeset
6 // @date@ 2004-10-23
140
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
7 // @uri@ news:cldaue$2gf4$1@digitaldaemon.com
1487
6e4063f99377 changed nntp: URLs to http: URLs
thomask
parents: 1383
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2144
70
5f98d4a33d49 1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents: 66
diff changeset
9
736
1e6afb94ce6d updated meta data for Torture
thomask
parents: 202
diff changeset
10 // __DSTRESS_TORTURE_BLOCK__ -release
1e6afb94ce6d updated meta data for Torture
thomask
parents: 202
diff changeset
11
66
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
12 module dstress.run.invariant_18;
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
13
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
14 class MyClass{
1559
ec5e144583ea D1 -> D2 : 1/N
thomask
parents: 1487
diff changeset
15 invariant(){
66
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
16 assert(0);
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
17 }
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
18 }
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
19
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
20 int main(){
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
21 try{
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
22 MyClass c = new MyClass();
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
23 }catch{
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
24 return 0;
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
25 }
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
26 assert(0);
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
27 }