271
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
|
|
6 // @date@ 2005-02-06
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2877
|
271
|
8
|
736
|
9 // __DSTRESS_TORTURE_BLOCK__ -release
|
|
10
|
271
|
11 module dstress.run.invariant_24;
|
|
12
|
|
13 class MyClass{
|
|
14
|
|
15 this(){
|
|
16 }
|
|
17
|
1559
|
18 invariant(){
|
271
|
19 assert(0);
|
|
20 }
|
|
21 }
|
|
22
|
|
23 int main(){
|
|
24 try{
|
|
25 MyClass c = new MyClass();
|
|
26 }catch{
|
|
27 return 0;
|
|
28 }
|
|
29 assert(0);
|
|
30 }
|