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

15 lines
185 B
C
Raw Normal View History

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