On Tue, Dec 16, 2008 at 10:41 AM, Jan Engelhardt <jeng...@medozas.de> wrote: > Is not this a use of an rvalue array too?:
>printf("%p\n", (struct { char x[20]; }){{"Hello"}}.x); No, compound literals are always lvalues in C99. Thanks, Andrew Pinski
On Tue, Dec 16, 2008 at 10:41 AM, Jan Engelhardt <jeng...@medozas.de> wrote: > Is not this a use of an rvalue array too?:
>printf("%p\n", (struct { char x[20]; }){{"Hello"}}.x); No, compound literals are always lvalues in C99. Thanks, Andrew Pinski