1 /* Test for non-lvalue arrays: test that they cannot be assigned to
2 array variables. PR 58235. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
6 struct s
{ char c
[1]; } x
;
7 struct s
f (void) { return x
; }
13 c
= f ().c
; /* { dg-error "array" } */
19 char c
[1] = f ().c
; /* { dg-error "array" } */