This test has been automatized
[oota-llvm.git] / test / CFrontend / 2002-12-15-StructParameters.c
1 typedef struct
2 {
3   void *stack;
4   unsigned size;
5   unsigned avail;
6 } compile_stack_type;
7
8 void foo(void*);
9 void bar(compile_stack_type T, unsigned);
10
11 void test() {
12   compile_stack_type CST;
13   foo(&CST);
14
15   bar(CST, 12);
16 }