annotate run/OutOfMemory_02.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 d3a3e0c251d8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
299
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
1 // $HeadURL$
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
2 // $Date$
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
3 // $Author$
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
4
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
5 // @author@ Anders F Björklund <afb@algonet.se>
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
6 // @date@ 2005-03-06
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
7 // @uri@ news:d0ek4k$2ko8$2@digitaldaemon.com
1384
d3a3e0c251d8 nntp: -> http:
thomask
parents: 1383
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3093
299
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
9
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
10 // @WARNING@ depends on Phobos
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
11
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
12 module dstress.run.OutOfMemory_02;
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
13
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
14 import std.outofmemory;
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
15
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
16 int main(){
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
17 try{
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
18 _d_OutOfMemory();
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
19 }catch(Exception e){
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
20 return 0;
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
21 }
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
22 assert(0);
da96294e4233 post Sinai part 1/3
thomask
parents:
diff changeset
23 }