| 1 |
/* Simplified from ncurses 5.0's pad.c |
| 2 |
by Alexandre Oliva <[email protected]> |
| 3 |
|
| 4 |
Copyright (C) 1999 Free Software Foundation */ |
| 5 |
|
| 6 |
/* { dg-do compile } */ |
| 7 |
|
| 8 |
extern char foo[1]; |
| 9 |
char foo[] = ""; |
| 10 |
|
| 11 |
int |
| 12 |
bar() |
| 13 |
{ |
| 14 |
return foo[0]; |
| 15 |
} |