From 3819846f8ad95b40d98d0a544fd16533590e30cb Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 1 Mar 2019 19:52:25 -0500 Subject: add testing errno as an lvalue and rvalue --- errno.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/errno.c b/errno.c index 3418970..4eaed65 100644 --- a/errno.c +++ b/errno.c @@ -14,6 +14,8 @@ void test_errno_h(void) testing_header("errno.h"); test_distinct(errno_values); + errno = 0; + test_int_equals(errno, 0); testing_end(); } -- cgit v1.2.1