llvm-project/llvm/test/FrontendC/2002-07-31-SubregFailure.c

15 lines
185 B
C
Raw Normal View History

2004-11-07 06:41:00 +08:00
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2002-08-01 01:52:36 +08:00
typedef union {
long (*ap)[4];
} ptrs;
void DoAssignIteration() {
ptrs abase;
abase.ap+=27;
Assignment(*abase.ap);
}