1 #include <ccan/array_size/array_size.h>
8 int check_parameter(const struct foo array[4]);
9 int check_parameter(const struct foo array[4])
12 return (ARRAY_SIZE(array) == 4);
14 return sizeof(array) == 4 * sizeof(struct foo);
18 int main(int argc, char *argv[])
20 return check_parameter(NULL);