Mercurial > projects > dstress
annotate run/OutOfMemory_01.d @ 299:da96294e4233
post Sinai part 1/3
author | thomask |
---|---|
date | Fri, 11 Mar 2005 23:50:05 +0000 |
parents | |
children | 52c9e86b6486 |
rev | line source |
---|---|
299 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Anders F Björklund <afb@algonet.se> | |
6 // @date@ 2005-03-06 | |
7 // @uri@ news:d0ek4k$2ko8$2@digitaldaemon.com | |
8 // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3093 | |
9 | |
10 // @WARNING@ depends on Phobos | |
11 | |
12 module dstress.run.OutOfMemory_01; | |
13 | |
14 import std.outofmemory; | |
15 | |
16 int main(){ | |
17 try{ | |
18 _d_OutOfMemory(); | |
19 }catch(OutOfMemoryException e){ | |
20 return 0; | |
21 } | |
22 assert(0); | |
23 } |