* gcc.dg/array-1.c: New test.

From-SVN: r30309
This commit is contained in:
Alexandre Oliva 1999-11-01 05:18:17 +00:00 committed by Alexandre Oliva
parent 37877eb0a9
commit 2792392c2f
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1999-11-01 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/array-1.c: New test.
Sat Oct 30 22:23:46 1999 Stephen L Moshier <moshier@mediaone.net>
* gcc.c-torture/execute/991030-1.c: New test.

View File

@ -0,0 +1,15 @@
/* Simplified from ncurses 5.0's pad.c
by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Copyright (C) 1999 Free Software Foundation */
/* { dg-do compile { xfail alpha-*-* } } */
extern char foo[1];
char foo[] = "";
int
bar()
{
return foo[0];
}