diff options
Diffstat (limited to 'tests/test-perror2.c')
-rw-r--r-- | tests/test-perror2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-perror2.c b/tests/test-perror2.c index edf1d15f..29594915 100644 --- a/tests/test-perror2.c +++ b/tests/test-perror2.c @@ -23,7 +23,7 @@ #include <unistd.h> /* Tell GCC not to warn about myerr being leaked. */ -#if __GNUC__ >= 13 +#if _GL_GNUC_PREREQ (13, 0) # pragma GCC diagnostic ignored "-Wanalyzer-fd-leak" #endif @@ -134,5 +134,5 @@ main (void) ASSERT (fclose (stderr) == 0); ASSERT (remove (BASE ".tmp") == 0); - return 0; + return test_exit_status; } |