annotate tests/testincludes/std/outofmemory.d @ 493:017ca8645a1f

Make llvmdc work with llvm 2.4svn revision 54614. Breaks compatibility with llvm 2.3.
author Christian Kamm <kamm incasoftware de>
date Sun, 10 Aug 2008 21:09:23 +0200
parents ca401c18c24e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
368
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
1 module std.outofmemory;
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
2 import std.compat;
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
3
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
4 public import tango.core.Exception;
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
5
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
6 extern (C) void _d_OutOfMemory()
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
7 {
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
8 throw cast(OutOfMemoryException)
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
9 cast(void *)
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
10 OutOfMemoryException.classinfo.init;
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
11 }