ん?
× void func(struct teststruct *test[])
○ void func(struct teststruct test[])

× printf("%d" , test[1]->x);
○ printf("%d" , test[1].x);