blob: 90ab1ff440440ba733aaae2868b0ca71594e8fd1 [file] [log] [blame]
Dan Gohmanfea1dd02009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Tanya Lattnere9af5d12004-11-06 22:41:00 +00002
Chris Lattnere3912ee2002-12-15 17:46:18 +00003typedef 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}