New testcase for PR133

llvm-svn: 10095
This commit is contained in:
Chris Lattner 2003-11-19 21:37:52 +00:00
parent 955d719a7c
commit 734620bc11

View File

@ -0,0 +1,12 @@
// 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;
}