mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 02:19:01 +08:00
* gcc.dg/array-1.c: New test.
From-SVN: r30309
This commit is contained in:
parent
37877eb0a9
commit
2792392c2f
@ -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.
|
||||
|
15
gcc/testsuite/gcc.dg/array-1.c
Normal file
15
gcc/testsuite/gcc.dg/array-1.c
Normal 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];
|
||||
}
|
Loading…
Reference in New Issue
Block a user