blob: f6b59de7f0a613850bb64c3ec46c8927cb7ef3d7 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3typedef struct
4{
5 void *stack;
6 unsigned size;
7 unsigned avail;
8} compile_stack_type;
9
10void foo(void*);
11void bar(compile_stack_type T, unsigned);
12
13void test() {
14 compile_stack_type CST;
15 foo(&CST);
16
17 bar(CST, 12);
18}