You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
270 B
19 lines
270 B
4 months ago
|
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
void *stack;
|
||
|
unsigned size;
|
||
|
unsigned avail;
|
||
|
} compile_stack_type;
|
||
|
|
||
|
void foo(void*);
|
||
|
void bar(compile_stack_type T, unsigned);
|
||
|
|
||
|
void test() {
|
||
|
compile_stack_type CST;
|
||
|
foo(&CST);
|
||
|
|
||
|
bar(CST, 12);
|
||
|
}
|