1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/test/Regression/CFrontend/2003-11-19-AddressOfRegister.c.tr
Chris Lattner 734620bc11 New testcase for PR133
llvm-svn: 10095
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;
}