From 387ad0e841018f51bc40f2ec67c7692de1752b45 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 16 Aug 2020 19:14:43 +0200 Subject: [PATCH] intprops test: Strengthen on clang. * tests/test-intprops.c (VERIFY): Use verify_stmt. --- ChangeLog | 5 +++++ tests/test-intprops.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8b678907b1..0810c1106c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-08-16 Bruno Haible + + intprops test: Strengthen on clang. + * tests/test-intprops.c (VERIFY): Use verify_stmt. + 2020-08-16 Bruno Haible nstrftime: Guide inlining also on clang. diff --git a/tests/test-intprops.c b/tests/test-intprops.c index a56b18e8c7..51477fd7c2 100644 --- a/tests/test-intprops.c +++ b/tests/test-intprops.c @@ -48,7 +48,7 @@ These tests should be checkable via 'verify' rather than 'ASSERT', but using 'verify' would run into a bug with HP-UX 11.23 cc; see . */ -#if __GNUC__ || __SUNPRO_C +#if __GNUC__ || __clang__ || __SUNPRO_C # define VERIFY(x) verify_stmt (x) #else # define VERIFY(x) ASSERT (x) -- 2.39.5