diff --git a/src/util/test.h b/src/util/test.h index 152a943e..cdb1b403 100644 --- a/src/util/test.h +++ b/src/util/test.h @@ -6,6 +6,9 @@ #include static inline void +#if (__GNUC__ == 2 && __GNUC_MINOR__ >= 5) || __GNUC__ > 2 +__attribute__((noreturn)) +#endif die(const char *msg, ...) { va_list args;