New test.
From-SVN: r32529
This commit is contained in:
parent
88624c0e27
commit
4fa241f2f2
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Mar 14 08:58:37 2000 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/compile/2000314-1.c: New test.
|
||||
|
||||
2000-03-13 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.warn/inline.C: New test.
|
||||
|
|
11
gcc/testsuite/gcc.c-torture/compile/20000314-1.c
Normal file
11
gcc/testsuite/gcc.c-torture/compile/20000314-1.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
struct {
|
||||
char a[5];
|
||||
} *p;
|
||||
|
||||
int main ()
|
||||
{
|
||||
int i = -1;
|
||||
|
||||
if(p->a[-i])
|
||||
return 1;
|
||||
}
|
Loading…
Add table
Reference in a new issue