PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2005-03-06-OffsetOfStructCrash.c
blob91e686280233fa611cbcf6782f481309ed103d87
1 // RUN: %llvmgcc %s -S -o -
3 struct Y {};
4 struct XXX {
5 struct Y F;
6 };
8 void test1() {
9 (int)&((struct XXX*)(((void *)0)))->F;
12 void test2() {
13 &((struct XXX*)(((void *)0)))->F;