2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / array-1.c
blob6d1e69a17e576862cd203445503c9a362434a20f
1 /* Simplified from ncurses 5.0's pad.c
2 by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4 Copyright (C) 1999 Free Software Foundation */
6 /* { dg-do compile } */
8 extern char foo[1];
9 char foo[] = "";
11 int
12 bar()
14 return foo[0];