summaryrefslogtreecommitdiffstats
path: root/config/has/aligned-alloc.c
blob: 44600383bba5701b85b63e56c34acdb9aeb6d9e4 (plain)
1
2
3
4
5
6
7
8
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

#include <stdlib.h>

int main(void) {
	return !aligned_alloc(_Alignof(void *), sizeof(void *));
}