about summary refs log tree commit diff
path: root/math/test-tgmath2.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/test-tgmath2.c')
-rw-r--r--math/test-tgmath2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/test-tgmath2.c b/math/test-tgmath2.c
index 467debac8c..b03bc55676 100644
--- a/math/test-tgmath2.c
+++ b/math/test-tgmath2.c
@@ -334,8 +334,8 @@ test (const int Vint4, const long long int Vllong4)
   return result;
 }
 
-int
-main (void)
+static int
+do_test (void)
 {
   return test (vint1, vllong1);
 }
@@ -366,6 +366,9 @@ main (void)
 #include "test-tgmath2.c"
 #endif
 
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
+
 #else
 
 #ifdef DEBUG