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
PR c/64440
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr61096-2.c
blob
fbea4d9db6bcc062e60643abb0b3f10580c42d3f
1
/* PR c/61077 */
2
/* { dg-do compile } */
3
4
struct
s
{
char
c
[
1
]; };
5
extern
struct
s
foo
(
void
);
6
void
7
bar
(
void
)
8
{
9
char
*
t
= (
foo
()).
c
;
/* { dg-error "13:invalid use of non-lvalue array" } */
10
}