summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2003-11-19-AddressOfRegister.c
blob: e80ff654cff20baf8adacbf3ce83c4027439f0c3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 %s -emit-llvm -o /dev/null

struct item {
  short delta[4];
};

int TEST(int nt) {
 register struct item *aa;
 aa[nt].delta;
 return 1;
}