2 // RUN: %llvmgcc -S %s -o - | grep datalayout | \
3 // RUN: not grep '"[Ee]-p:[36][24]:[36][24]"'
7 typedef double vector[NDIM];
8 typedef struct bnode* bodyptr;
9 // { i16, double, [3 x double], i32, i32, [3 x double], [3 x double], [3 x
10 // double], double, \2 *, \2 * }
25 #define Type(x) ((x)->type)
26 #define Mass(x) ((x)->mass)
27 #define Pos(x) ((x)->pos)
28 #define Proc(x) ((x)->proc)
29 #define New_Proc(x) ((x)->new_proc)
30 #define Vel(x) ((x)->vel)
31 #define Acc(x) ((x)->acc)
32 #define New_Acc(x) ((x)->new_acc)
33 #define Phi(x) ((x)->phi)
34 #define Next(x) ((x)->next)
35 #define Proc_Next(x) ((x)->proc_next)
37 bodyptr ubody_alloc(int p)
40 tmp = (bodyptr)malloc(sizeof(body));
44 Proc_Next(tmp) = NULL;
49 int main(int argc, char** argv) {
50 bodyptr b = ubody_alloc(17);