summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-06 19:32:34 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-06 19:32:34 -0500
commitcb0dc1130277cab3a4d5bcc7b12dedde3de02e59 (patch)
treebbc10c4673d54bfc854dfee4ccb6cc1ac95c159f
parent4bb6e449a91732a77a205a21a6af248d677f12fb (diff)
enable offsetof() test
-rw-r--r--stddef.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/stddef.c b/stddef.c
index e031867..73f0dfd 100644
--- a/stddef.c
+++ b/stddef.c
@@ -16,9 +16,7 @@ void test_stddef_h(void)
test_true(NULL == 0);
- /*
- test_int_eq(offsetof(struct s, b), 1);
- */
+ test_int_equals(offsetof(struct s, b), 1);
testing_end();
}