Commit 2613bd56 by Richard Henderson

New.

From-SVN: r49664
parent fba78abb
/* PR c/5623 */
/* { dg-do compile } */
struct blah {
int number;
char array[];
};
void foo(void)
{
struct blah b;
b.array = "hi"; /* { dg-error "invalid use of flexible array member" } */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment