#include <stdlib.h>
#define MALLOC(type) ((type *)malloc(sizeof(type)))
typedef struct widget widget;
struct widget {
char c[10];
int i;
double d;
};
void testcase_compliant_macro(void) {
widget *p;
p = MALLOC(widget);
if (p != NULL) {
p->i = 0;
p->d = 0.0;
}
}