llvm-6502/test/CFrontend/2003-11-19-AddressOfRegister.c.tr
Chris Lattner 841d8e90ac New testcase for PR133
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10095 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 21:37:52 +00:00

13 lines
178 B
Plaintext

// RUN: %llvmgcc -xc %s -S -o /dev/null 2>&1 | not grep 'warning'
struct item {
short delta[4];
};
int TEST(int nt) {
register struct item *aa;
aa[nt].delta;
return 1;
}