summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2002-07-31-SubregFailure.c
blob: 5c7f38f0057994d5b9fc36bf7d4664dc93fb85e2 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null


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

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