annotate tests/testincludes/std/outofmemory.d @ 863:6c850977a941

modified gen/linker.cpp to only append .exe suffix on windows if not already present
author elrood
date Thu, 18 Dec 2008 19:24:33 +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 }