brintos

brintos / llvm-project-archived public Read only

0
0
Text · 274 B · 4f0e41e Raw
19 lines · c
1// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null2 3typedef struct4{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(void) {14  compile_stack_type CST;15  foo(&CST);16 17  bar(CST, 12);18}19