Fix a buggy test case.

It was calling fabs() without having included <math.h>, causing fabs() to be treated as returning an int rather than a floating-point value. This misinterpretation of the return value could cause test failures.
This commit is contained in:
Stephen Heumann 2021-02-28 14:39:19 -06:00
parent b39dd0f34c
commit da715ae854
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
/* arrays defined in the main source file. Part of Special Conformance */
/* Test 4.6.3.6 */
#include <math.h>
#include <stdio.h>
int ExternTest (void)
{