annotate tests/testincludes/std/outofmemory.d @ 883:b52d5de7783f

GC defines and linkage changes.
author Christian Kamm <kamm incasoftware de>
date Thu, 08 Jan 2009 18:20:02 +0100
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 }