aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2002-07-31-SubregFailure.c
blob: 72fcb496cb004135fb344f38893c68175229b6b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null


typedef union {
   long (*ap)[4];
} ptrs;

void DoAssignIteration() {
  ptrs abase;
  abase.ap+=27;
  Assignment(*abase.ap);
}