/*
 * test for memalign function
 *
 * This file is automatically generated by Configure
 * from test_c.in.
 */
#include <@malloc_header@>
#include <stdio.h>

int main(int argc, char **argv) {
	void *ptr = memalign(256, 17);
       puts(ptr && ((@ptrcast@)ptr & 0xff) == 0 ? "ok" : "nix");
	return 0;
}
