Flush the standard error stream before aborting.
[gnulib.git] / tests / test-frexp.c
index af9e8b1..2fa15c0 100644 (file)
@@ -37,6 +37,7 @@
       if (!(expr))                                                          \
         {                                                                   \
           fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+          fflush (stderr);                                                  \
           abort ();                                                         \
         }                                                                   \
     }                                                                       \