Commit 458440a9 by Olivier Hainque Committed by Olivier Hainque

unc_memops.ads: Comment out the alloc/free/realloc exports and document how these can be exercised.

2007-12-07  Olivier Hainque  <hainque@adacore.com>

	testsuite/
	* gnat.dg/unc_memops.ads: Comment out the alloc/free/realloc
	exports and document how these can be exercised.

From-SVN: r130678
parent 9cc11b58
2007-12-07 Olivier Hainque <hainque@adacore.com>
* gnat.dg/unc_memops.ads: Comment out the alloc/free/realloc
exports and document how these can be exercised.
2007-12-07 Samuel Tardieu <sam@rfc1149.net>
PR ada/15805
......@@ -17,8 +17,14 @@ package Unc_Memops is
private
pragma Export (C, Alloc, "__gnat_malloc");
pragma Export (C, Free, "__gnat_free");
pragma Export (C, Realloc, "__gnat_realloc");
-- Uncomment the exports below to really exercise the alternate versions.
-- This only works when using an installed version of the tools which
-- grabs the runtime library objects from an archive, hence doesn't force
-- the inclusion of s-memory.o.
-- pragma Export (C, Alloc, "__gnat_malloc");
-- pragma Export (C, Free, "__gnat_free");
-- pragma Export (C, Realloc, "__gnat_realloc");
end;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment