PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2005-03-05-OffsetOfHack.c
blob8df7231df6aced1769b7add0077bf71173797f0b
1 // RUN: %llvmgcc %s -S -o -
3 struct s {
4 unsigned long int field[0];
5 };
7 #define OFFS \
8 (((char *) &((struct s *) 0)->field[0]) - (char *) 0)
10 int foo[OFFS];