Mercurial > projects > dstress
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 |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
202 | 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 | 7 // @uri@ news:cldaue$2gf4$1@digitaldaemon.com |
1487 | 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 | 10 // __DSTRESS_TORTURE_BLOCK__ -release |
11 | |
66 | 12 module dstress.run.invariant_18; |
13 | |
14 class MyClass{ | |
1559 | 15 invariant(){ |
66 | 16 assert(0); |
17 } | |
18 } | |
19 | |
20 int main(){ | |
21 try{ | |
22 MyClass c = new MyClass(); | |
23 }catch{ | |
24 return 0; | |
25 } | |
26 assert(0); | |
27 } |