annotate tests/testincludes/std/outofmemory.d @ 963:fa21062b6948

Fix for tests/mini/callingconv1.d
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Sun, 15 Feb 2009 22:56:10 -0700
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 }