minix/external/bsd/llvm/dist/clang/test/CodeGen/2003-11-19-AddressOfRegister.c

12 lines
157 B
C
Raw Normal View History

// 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;
}