summaryrefslogtreecommitdiff
path: root/stdalign.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-08-08 14:24:34 -0400
committerJakob Kaivo <jkk@ung.org>2019-08-08 14:24:34 -0400
commit1a834f6bd8897e1dfd3781a296f6bffc26deeece (patch)
treedf6023b3dff2804c9381811c636c4fd64b566b34 /stdalign.c
parentb2efbbcdbbb3fa4a9cb2f80359f4e1b24116239e (diff)
replace all instances of test_defined() with #ifdef tests
Diffstat (limited to 'stdalign.c')
-rw-r--r--stdalign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdalign.c b/stdalign.c
index 3cb7494..67ce67c 100644
--- a/stdalign.c
+++ b/stdalign.c
@@ -10,8 +10,8 @@ void test_stdalign_h(void)
/* alignas() */
/* alignof() */
- test_defined(__alignas_is_defined);
- test_defined(__alignof_is_defined);
+ test_int_equals(__alignas_is_defined, 1);
+ test_int_equals(__alignof_is_defined, 1);
testing_end();
}