repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
array-1.c
blob
6d1e69a17e576862cd203445503c9a362434a20f
1
/* Simplified from ncurses 5.0's pad.c
2
by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
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
}