summaryrefslogtreecommitdiff
path: root/tests/talloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/talloc.c')
-rw-r--r--tests/talloc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/talloc.c b/tests/talloc.c
index ee0e0d4aa..4909599ac 100644
--- a/tests/talloc.c
+++ b/tests/talloc.c
@@ -47,7 +47,11 @@ main (void)
of memory allocation. In r9454, this crashes because the memory
allocation function used by this macro (under the condition that
the size is > MPFR_ALLOCA_MAX) isn't defined yet. This bug comes
- from r8813. */
+ from r8813.
+ WARNING! Do not add MPFR calls before this test. Otherwise the
+ mentioned problem may no longer be actually tested, making this
+ test useless. For other allocation tests, it is better to use a
+ different test file. */
mpfr_set_ui (x, 1, MPFR_RNDN);
mpfr_set_ui (y, 2, MPFR_RNDN);
mpfr_add (x, x, y, MPFR_RNDN);