annotate run/invariant_24.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents ec5e144583ea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
271
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
1 // $HeadURL$
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
2 // $Date$
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
3 // $Author$
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
4
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
6 // @date@ 2005-02-06
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 736
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2877
271
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
8
736
1e6afb94ce6d updated meta data for Torture
thomask
parents: 271
diff changeset
9 // __DSTRESS_TORTURE_BLOCK__ -release
1e6afb94ce6d updated meta data for Torture
thomask
parents: 271
diff changeset
10
271
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
11 module dstress.run.invariant_24;
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
12
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
13 class MyClass{
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
14
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
15 this(){
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
16 }
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
17
1559
ec5e144583ea D1 -> D2 : 1/N
thomask
parents: 1489
diff changeset
18 invariant(){
271
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
19 assert(0);
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
20 }
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
21 }
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
22
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
23 int main(){
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
24 try{
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
25 MyClass c = new MyClass();
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
26 }catch{
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
27 return 0;
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
28 }
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
29 assert(0);
e9ef8eec28b1 invariant and ctor
thomask
parents:
diff changeset
30 }