mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
New testcase for PR133
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10095 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
236c4d4214
commit
841d8e90ac
12
test/CFrontend/2003-11-19-AddressOfRegister.c.tr
Normal file
12
test/CFrontend/2003-11-19-AddressOfRegister.c.tr
Normal 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;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user