PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2002-12-15-StructParameters.c
blobc85dab1cd1e46084cd13b4b59283bc6c13d98c75
1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
3 typedef struct
5 void *stack;
6 unsigned size;
7 unsigned avail;
8 } compile_stack_type;
10 void foo(void*);
11 void bar(compile_stack_type T, unsigned);
13 void test() {
14 compile_stack_type CST;
15 foo(&CST);
17 bar(CST, 12);